mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
parser: Adds msg: ContentInjection is not yet supported
This commit is contained in:
@@ -352,6 +352,7 @@ using modsecurity::operators::Operator;
|
||||
%token
|
||||
END 0 "end of file"
|
||||
COMMA ","
|
||||
CONFIG_CONTENT_INJECTION "CONFIG_CONTENT_INJECTION"
|
||||
PIPE
|
||||
NEW_LINE
|
||||
VAR_COUNT
|
||||
@@ -1162,6 +1163,16 @@ expression:
|
||||
{
|
||||
driver.m_components.push_back($1);
|
||||
}
|
||||
| CONFIG_CONTENT_INJECTION CONFIG_VALUE_ON
|
||||
{
|
||||
driver.error(@0, "ContentInjection is not yet supported.");
|
||||
YYERROR;
|
||||
}
|
||||
| CONFIG_CONTENT_INJECTION CONFIG_VALUE_OFF
|
||||
{
|
||||
driver.error(@0, "ContentInjection is not yet supported.");
|
||||
YYERROR;
|
||||
}
|
||||
| CONFIG_SEC_RULE_REMOVE_BY_ID
|
||||
{
|
||||
std::string error;
|
||||
|
Reference in New Issue
Block a user