From 38a58e4ea32040f89a464b1ce919200d56ebef71 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 7 Jun 2020 10:07:05 +0200 Subject: [PATCH] privoxy-regression-test.pl: Allow '[' and ']' in URLs --- 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 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; -- 2.39.2