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
This commit is contained in:
teastep 2007-05-09 23:20:31 +00:00
parent 5a52ee2f90
commit 0a4d40bd84

View File

@ -309,8 +309,7 @@ my %no_pad = ( COMMENT => 1,
sub split_line( $$$ ) { sub split_line( $$$ ) {
my ( $mincolumns, $maxcolumns, $description ) = @_; 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 double quotes, single back quotes or backslashes" if $line =~ /"`\\/;
fatal_error "Shorewall Configuration file entries may not contain backslash characters" if $line =~ /\\/;
my @line = split /\s+/, $line; my @line = split /\s+/, $line;