]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
ids.cgi: Do not expect a space after the msg tag has been closed while
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 12 May 2021 17:44:43 +0000 (19:44 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 8 Sep 2021 17:37:26 +0000 (19:37 +0200)
processing rules.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ids.cgi

index 0674978354cc60534af1be57c76557f7bc2af71f..4c295502394529db5b9d937e6e933f93eb542eb3 100644 (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;