[Privoxy-commits] [privoxy] 03/11: regression-tests.action: Add a redirect{} test with a pcrs command
User Git
git at git.privoxy.org
Tue Jul 11 05:52:37 CEST 2023
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit fa6de9d8b18e76259f05df772f6ede2b78da7a13
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Fri Jun 30 12:56:47 2023 +0200
regression-tests.action: Add a redirect{} test with a pcrs command
---
regression-tests.action | 5 +++++
1 file changed, 5 insertions(+)
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
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list