From 18818d631934efd1529e41d520071b888cc7d5ba Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Mon, 1 Jun 2009 13:16:36 +0000 Subject: [PATCH] In check_for_forbidden_characters(), don't allow line breaks. Specifying them is currently not possible and makes no sense anyway. --- tools/privoxy-regression-test.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/privoxy-regression-test.pl b/tools/privoxy-regression-test.pl index 3b02fdaa..0668df74 100755 --- a/tools/privoxy-regression-test.pl +++ b/tools/privoxy-regression-test.pl @@ -7,7 +7,7 @@ # A regression test "framework" for Privoxy. For documentation see: # perldoc privoxy-regression-test.pl # -# $Id: privoxy-regression-test.pl,v 1.180 2009/06/01 10:48:24 fk Exp $ +# $Id: privoxy-regression-test.pl,v 1.44 2009/06/01 10:49:07 fabiankeil Exp $ # # Wish list: # @@ -139,7 +139,7 @@ sub parse_tag ($) { sub check_for_forbidden_characters ($) { my $string = shift; - my $allowed = '[-=\dA-Za-z~{}:./();\s,+@"_%?&*^]'; + my $allowed = '[-=\dA-Za-z~{}:./();\t ,+@"_%?&*^]'; unless ($string =~ m/^$allowed*$/o) { my $forbidden = $string; -- 2.39.2