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:
Stefan Schantl
2021-05-12 19:44:43 +02:00
parent 057e895351
commit 4d438241c3

View File

@@ -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;