X-Git-Url: http://www.privoxy.org/gitweb/03andreas_t.jpg?a=blobdiff_plain;f=regression-tests.action;h=92b4388b959e8f3945068156af100b00d642bbbb;hb=ad2f203d5060dad89a8f93744186a2578021585b;hp=939596a8b0de318bca11e6d9c56db273f1dffefd;hpb=42f56383f8a799160e544c66ad783b0549d09e31;p=privoxy.git diff --git a/regression-tests.action b/regression-tests.action index 939596a8..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 @@ -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 @@ -1152,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