mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
ids.cgi: Do not expect a space after the msg tag has been closed while
processing rules. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -1974,7 +1974,7 @@ sub readrulesfile ($) {
|
||||
my $msg;
|
||||
|
||||
# Gather rule sid and message from the ruleline.
|
||||
if ($line =~ m/.*msg:\s*\"(.*?)\"\; .*sid:\s*(.*?); /) {
|
||||
if ($line =~ m/.*msg:\s*\"(.*?)\"\;.*sid:\s*(.*?); /) {
|
||||
$msg = $1;
|
||||
$sid = $2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user