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-Tag: v2.27-core164~210^2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d438241c3521582239738198a9070cebdc91c04;p=ipfire-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;