From: Fabian Keil Date: Sun, 7 Jun 2020 08:07:05 +0000 (+0200) Subject: privoxy-regression-test.pl: Allow '[' and ']' in URLs X-Git-Tag: v_3_0_29~304 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=38a58e4ea32040f89a464b1ce919200d56ebef71 privoxy-regression-test.pl: Allow '[' and ']' in URLs --- diff --git a/tools/privoxy-regression-test.pl b/tools/privoxy-regression-test.pl index 292ee78c..69a9ee78 100755 --- a/tools/privoxy-regression-test.pl +++ b/tools/privoxy-regression-test.pl @@ -132,7 +132,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;