mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
ids.cgi: Do not expect a space before the sid when parsing rulefiles.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -1942,7 +1942,7 @@ sub readrulesfile ($) {
|
|||||||
my $msg;
|
my $msg;
|
||||||
|
|
||||||
# Gather rule sid and message from the ruleline.
|
# Gather rule sid and message from the ruleline.
|
||||||
if ($line =~ m/.*msg:\"(.*?)\"\; .* sid:(.*?); /) {
|
if ($line =~ m/.*msg:\"(.*?)\"\; .*sid:(.*?); /) {
|
||||||
$msg = $1;
|
$msg = $1;
|
||||||
$sid = $2;
|
$sid = $2;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user