X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=regression-tests.action;h=2931ed32b2d7c91334d92a1662e669b9eb06afdf;hb=22e655f225458d9210c3c329f63497b8860a11b3;hp=f28da1861b65a316e7b3d4fe3044f728a69751de;hpb=0fd3ccd4c5e8166c7889c5963ca78a8a06e5c8e6;p=privoxy.git diff --git a/regression-tests.action b/regression-tests.action index f28da186..2931ed32 100644 --- a/regression-tests.action +++ b/regression-tests.action @@ -9,7 +9,7 @@ # ############################################################################# # -# Copyright (c) 2007-2020 Fabian Keil +# Copyright (c) 2007-2021 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 @@ -108,7 +108,10 @@ TAG:^hide-accept-language\{block\}$ # Set Header = Referer: http:// # Expect Header = REMOVAL # -# Set Header = Referer: https://p.p/ +# Set Header = Referer: https://www.privoxy.org/ +# Expect Header = REMOVAL +# +# Set Header = Referer: http://www.privoxy.org/ # Expect Header = REMOVAL TAG:^hide-referrer\{conditional-block\}$ @@ -128,7 +131,10 @@ TAG:^hide-referrer\{conditional-block\}$ # Set Header = Referer: http:// # Expect Header = Referer: http://p.p/ # -# Set Header = Referer: https://p.p/ +# Set Header = Referer: https://www.privoxy.org/ +# Expect Header = Referer: http://p.p/ +# +# Set Header = Referer: http://www.privoxy.org/ # Expect Header = Referer: http://p.p/ TAG:^hide-referrer\{conditional-forge\}$ @@ -629,6 +635,15 @@ TAG:^connection-sharing enabled$ TAG:^No Host header$ {} +# XXX: This test is expected to fail when using "https://p.p/" +# as CGI prefix with https inspection enabled but can't +# yet be automatically skipped. The reason for the test +# failure is that Privoxy-Regression-Test only modifies +# the Host header for the CONNECT request, not for the +# actual request that follows. Changing that would not +# fix the test though as a modified Host header in the +# actual request would result in Privoxy attempting to +# connect to it. # Set Header = Host: whatever.example.org # Expect Header = NO CHANGE TAG:^Host header other than the target host$ @@ -718,7 +733,7 @@ TAG:^Proxy-Authorization header forwarding$ # Expect Status Code = 404 # Level = 18 # Fetch Test = http://p.p/die -# Expect Status Code = 200 +# Expect Status Code = 403 # Level = 19 # Fetch Test = http://p.p/show-status # Fetch Test = http://config.privoxy.org/show-status?file=actions&index=0