From d96964fcf58c73fb822fabc0eb931f9a7a7465c2 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 30 Oct 2011 16:21:19 +0000 Subject: [PATCH] Add a couple of +fast-redirect{} tests --- regression-tests.action | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/regression-tests.action b/regression-tests.action index 0e34aab1..7657ab97 100644 --- a/regression-tests.action +++ b/regression-tests.action @@ -1,5 +1,5 @@ ############################################################################# -# $Id: regression-tests.action,v 1.36 2011/07/30 15:22:39 fabiankeil Exp $ +# $Id: regression-tests.action,v 1.37 2011/09/06 18:45:46 fabiankeil Exp $ ############################################################################# # # This is a configuration file for Privoxy-Regression-Test @@ -836,3 +836,28 @@ trailing-dot.example.org # Expect Header = X-LWS-Test: "This is quoted" this is not "this is " but " this again is not {} TAG:^LWS Tests$ + +{+fast-redirects{check-decoded-url}} +# Redirected URL = http://redirect.example.net/blafasel&url=http://redirected1.example.net/ +# Redirect Destination = http://redirected1.example.net/ +# Redirected URL = http://redirect.example.net/blafasel&url=http%3A%2F%2Fredirected2.example.net%2F¶meter=not-part-of-the-redirected-url +# Redirect Destination = http://redirected2.example.net/ +# Redirected URL = http://redirect.example.net/blafasel&url=http%3A%2F%2Fredirected3.example.net%2F¶meter=not-part-of-the-redirected-url +# Redirect Destination = http://redirected3.example.net/ +# Redirected URL = http://redirect.example.net/blafasel&url=http%3A%2F%2Fredirected4.example.net%2F%26parameter=part-of-the-redirected-url +# Redirect Destination = http://redirected4.example.net/¶meter=part-of-the-redirected-url +# Redirected URL = http://redirect.example.net/blafasel&url1=http%3A%2F%2Fredirected5.example.net%2F%26parameter1=part-of-the-redirected-url&url2=http%3A%2F%2Fredirected5.example.net%2F%26parameter2=part-of-the-redirected-url2 +# Redirect Destination = http://redirected5.example.net/¶meter2=part-of-the-redirected-url2 +# Redirected URL = http://redirect.example.net/blafasel&url1=http%3A%2F%2Fredirected6.example.net%2F%26parameter1=part-of-the-redirected-url&url2=http%3A%2F%2Fredirected6.example.net%2F%26parameter2=part-of-the-redirected-url2¶meter3=not-part-of-the-redirected-url2 +# Redirect Destination = http://redirected6.example.net/¶meter2=part-of-the-redirected-url2 +# Redirected URL = http://redirect.example.net/blafasel?x=http%3A%2F%2Fredirected7.example.net%2F%26parameter1=part-of-the-redirected-url1¶meter2=not-part-of-the-redirected-url1 +# Redirect Destination = http://redirected7.example.net/¶meter1=part-of-the-redirected-url1 +# Redirected URL = http://redirect.example.net/blafasel?x=http%3A%2F%2Fredirected8.example.net%2F%26parameter1=part-of-the-redirected-url1¶meter2=not-part-of-the-redirected-url1¶meter3=not-part-of-the-redirected-url1 +# Redirect Destination = http://redirected8.example.net/¶meter1=part-of-the-redirected-url1 +redirect.example.net/ + +{+fast-redirects{simple-check}} +# Redirected URL = http://redirect2.example.net/blafasel?x=http://redirected.example.net/¶meter1=part-of-the-redirected-url1¶meter2=part-of-the-redirected-url1 +# Redirect Destination = http://redirected.example.net/¶meter1=part-of-the-redirected-url1¶meter2=part-of-the-redirected-url1 +redirect2.example.net/ + -- 2.39.2