From: Stefan Schantl Date: Wed, 12 May 2021 17:44:43 +0000 (+0200) Subject: ids.cgi: Do not expect a space after the msg tag has been closed while X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0fecb01699770a12bad564e7dca9e561856ffe32;p=people%2Fstevee%2Fipfire-2.x.git ids.cgi: Do not expect a space after the msg tag has been closed while processing rules. Signed-off-by: Stefan Schantl --- diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index ed847b9167..15a340b423 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -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;