]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
ids.cgi: Do not expect a space before the sid when parsing rulefiles.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 5 Apr 2021 05:52:30 +0000 (07:52 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 8 Sep 2021 17:37:25 +0000 (19:37 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ids.cgi

index c327179a4b256d45df5ed00a41281078ec5ac6c7..7565908ac6fe90380f14f4b91c85d8c115249246 100644 (file)
@@ -1942,7 +1942,7 @@ sub readrulesfile ($) {
                my $msg;
 
                # Gather rule sid and message from the ruleline.
-               if ($line =~ m/.*msg:\"(.*?)\"\; .* sid:(.*?); /) {
+               if ($line =~ m/.*msg:\"(.*?)\"\; .*sid:(.*?); /) {
                        $msg = $1;
                        $sid = $2;