X-Git-Url: http://www.privoxy.org/gitweb/templates.html?a=blobdiff_plain;f=regression-tests.action;h=92b4388b959e8f3945068156af100b00d642bbbb;hb=e4a7ec439a8ff4199c00718922f5cf255d2dabdf;hp=2931ed32b2d7c91334d92a1662e669b9eb06afdf;hpb=8456a1338a6ee718e783ff99abc7933a2fb2c1d2;p=privoxy.git diff --git a/regression-tests.action b/regression-tests.action index 2931ed32..92b4388b 100644 --- a/regression-tests.action +++ b/regression-tests.action @@ -9,7 +9,7 @@ # ############################################################################# # -# Copyright (c) 2007-2021 Fabian Keil +# Copyright (c) 2007-2023 Fabian Keil # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -26,7 +26,7 @@ ############################################################################# {{settings}} -for-privoxy-version=3.0.29 +for-privoxy-version=3.0.33 # Some dependencies Privoxy-Regression-Test should know about: # @@ -836,6 +836,10 @@ TAG:^Proxy-Authorization header forwarding$ # Fetch Test = http://p.p/favicon.ico # Fetch Test = http://p.p/robots.txt # Fetch Test = http://p.p/send-banner +# Fetch Test = http://p.p/send-banner?type=r +# Fetch Test = http://p.p/send-banner?type=auto +# Fetch Test = http://p.p/send-banner?type=blank +# Fetch Test = http://p.p/send-banner?type=pattern # Trusted CGI Request = http://p.p/send-stylesheet # Fetch Test = http://p.p/send-stylesheet # Expect Status Code = 403 @@ -849,6 +853,7 @@ TAG:^Proxy-Authorization header forwarding$ # Fetch Test = http://p.p/toggle-client-tag # Expect Status Code = 403 # Level = 24 +# Fetch Test = http://p.p/wpad.dat # Trusted CGI Request = http://p.p/edit-actions # Expect Status Code = 302 @@ -899,6 +904,11 @@ TAG:^Proxy-Authorization header forwarding$ # Level = 12 # Trusted CGI Request = http://p.p/send-stylesheet +# CVE-2021-20217 +# Fetch Test = http://config.privoxy.org/?1&0 +# OVE-20210203-0001 +# Fetch Test = http://config.privoxy.org/show-url-info?url=0%%0A0 + # The following tests depend on Privoxy being configured to deliver the user manual # Fetch Test = http://p.p/user-manual @@ -1131,6 +1141,11 @@ redirect.example.net/ # Redirect Destination = http://redirected.example.net/¶meter1=part-of-the-redirected-url1¶meter2=part-of-the-redirected-url1 redirect2.example.net/ +# Redirected URL = http://redirect3.example.net/01-02-03-04-05-06-07-08-09 +# Redirect Destination = http://redirect3.example.net/09-08-07-06-05-04-03-02-01 +{+redirect{s@/(\d+)-(\d+)-(\d+)-(\d+)-(\d+)-(\d+)-(\d+)-(\d+)-(\d+)@/$9-$8-$7-$6-$5-$4-$3-$2-$1@}} +redirect3.example.net/01-02-03-04-05-06-07-08-09 + {+delay-response{1}} # Fetch Test = http://config.privoxy.org/show-url-info?url=http%3A%2F%2Fwww.example.com%2Fprivoxy-test-delay-response config.privoxy.org/show-url-info\?url=http%3A%2F%2Fwww\.example\.com%2Fprivoxy-test-delay-response @@ -1142,3 +1157,8 @@ PCRE-HOST-PATTERN:^a{3}\.example\.org$ # Blocked URL = http://bbb.example.org/ # Level = 26 PCRE-HOST-PATTERN:^(bbb|ccc|ddd)\.example\.org$ + +{+block{Block should not apply because the path pattern is left-anchored}} +# Sticky Actions = -block +# URL = http://www.example.org/tralala/blafasel +www.example.org/blafasel