]> 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>
Sun, 19 Dec 2021 12:23:45 +0000 (13:23 +0100)
processing rules.

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

index ed847b9167e7f13d3ef5704327aa92f125159bb6..15a340b423a13695ccaf9d74d881ac061bdb5308 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;