From: Fabian Keil <fk@fabiankeil.de>
Date: Mon, 23 Jan 2017 13:06:41 +0000 (+0000)
Subject: Add fetch tests for /toggle-client-tag
X-Git-Tag: v_3_0_27~226
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/static/diff?a=commitdiff_plain;h=34723bc6b3c162b268055643b0580adc173975f1;p=privoxy.git

Add fetch tests for /toggle-client-tag
---

diff --git a/regression-tests.action b/regression-tests.action
index 812fc18c..750caed7 100644
--- a/regression-tests.action
+++ b/regression-tests.action
@@ -1,5 +1,5 @@
 #############################################################################
-# $Id: regression-tests.action,v 1.68 2017/01/23 13:06:19 fabiankeil Exp $
+# $Id: regression-tests.action,v 1.69 2017/01/23 13:06:31 fabiankeil Exp $
 #############################################################################
 #
 # This is a configuration file for Privoxy-Regression-Test
@@ -777,6 +777,12 @@ TAG:^Proxy-Authorization header forwarding$
 # Fetch Test = http://p.p/url-info-osd.xml
 # Fetch Test = http://p.p/client-tags
 # Level = 24
+# Trusted CGI Request = http://p.p/toggle-client-tag
+# Expect Status Code = 302
+# Level = 24
+# Fetch Test = http://p.p/toggle-client-tag
+# Expect Status Code = 403
+# Level = 24
 
 # Trusted CGI Request = http://p.p/edit-actions
 # Expect Status Code = 302