From 0a4d40bd841e36229d32449ac6b80b2fb71df338 Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 9 May 2007 23:20:31 +0000 Subject: [PATCH] Add single back quote to the verboten characters git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6313 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Config.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Shorewall-perl/Shorewall/Config.pm b/Shorewall-perl/Shorewall/Config.pm index c7dd63918..e32729b49 100644 --- a/Shorewall-perl/Shorewall/Config.pm +++ b/Shorewall-perl/Shorewall/Config.pm @@ -309,8 +309,7 @@ my %no_pad = ( COMMENT => 1, sub split_line( $$$ ) { my ( $mincolumns, $maxcolumns, $description ) = @_; - fatal_error "Shorewall Configuration file entries may not contain double quotes" if $line =~ /"/; - fatal_error "Shorewall Configuration file entries may not contain backslash characters" if $line =~ /\\/; + fatal_error "Shorewall Configuration file entries may not contain double quotes, single back quotes or backslashes" if $line =~ /"`\\/; my @line = split /\s+/, $line;