projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd1f43b
)
privoxy-regression-test.pl: Allow '[' and ']' in URLs
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 7 Jun 2020 08:07:05 +0000
(10:07 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 7 Jun 2020 09:27:12 +0000
(11:27 +0200)
tools/privoxy-regression-test.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-regression-test.pl
b/tools/privoxy-regression-test.pl
index
292ee78
..
69a9ee7
100755
(executable)
--- 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;