[Privoxy-commits] [privoxy] 10/18: privoxy-regression-test: Allow '!' characters

User Git git at git.privoxy.org
Tue Mar 31 09:21:03 CEST 2026


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit 90b90e76719f71bef482ccd75653b479e1e13be7
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Mon Mar 30 21:36:17 2026 +0200

    privoxy-regression-test: Allow '!' characters
    
    ... which are used in URLs from taz.de for example.
---
 tools/privoxy-regression-test.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/privoxy-regression-test.pl b/tools/privoxy-regression-test.pl
index 786c04b6..e1b8fdf0 100755
--- a/tools/privoxy-regression-test.pl
+++ b/tools/privoxy-regression-test.pl
@@ -135,7 +135,7 @@ sub parse_tag($) {
 sub check_for_forbidden_characters($) {
 
     my $string = shift;
-    my $allowed = '[-=\dA-Za-z~{}\[\]:./();\t ,+@"_%?&*^|]';
+    my $allowed = '[-=\dA-Za-z~{}\[\]:./();\t ,+@"_%?&*^|!]';
 
     unless ($string =~ m/^$allowed*$/o) {
         my $forbidden = $string;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list