mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
parser: avoids parser error while loading an empty file
This commit is contained in:
parent
5553b2a5b9
commit
8f5c1c3cf6
@ -313,7 +313,11 @@ using modsecurity::Variables::XML;
|
|||||||
|
|
||||||
|
|
||||||
input:
|
input:
|
||||||
input line
|
END
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
| input line
|
||||||
| line
|
| line
|
||||||
;
|
;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user