mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-16 19:30:44 +01:00
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:
parent
5a52ee2f90
commit
0a4d40bd84
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user