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=de6659b2139b94f37a40b21baf00b008289fa6fb;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 0674978354..4c29550239 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;