projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
890920e
)
privoxy-regression-parser: Allow '|' in tokens and values
author
Fabian Keil
<fk@fabiankeil.de>
Mon, 14 Dec 2020 05:59:29 +0000
(06:59 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Mon, 14 Dec 2020 07:49:17 +0000
(08:49 +0100)
... to allow tag patterns like:
TAG:^(application|text)/(x-)?javascript$
tools/privoxy-regression-test.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-regression-test.pl
b/tools/privoxy-regression-test.pl
index
7596581
..
788d7c4
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;