From: Fabian Keil Date: Fri, 30 Jun 2023 10:56:47 +0000 (+0200) Subject: regression-tests.action: Add a redirect{} test with a pcrs command X-Git-Tag: v_4_0_0~185 X-Git-Url: http://www.privoxy.org/gitweb/?a=commitdiff_plain;h=fa6de9d8b18e76259f05df772f6ede2b78da7a13;p=privoxy.git regression-tests.action: Add a redirect{} test with a pcrs command --- diff --git a/regression-tests.action b/regression-tests.action index 939596a8..84467c97 100644 --- a/regression-tests.action +++ b/regression-tests.action @@ -1141,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