Accepts component signature between brackets

This commit is contained in:
Felipe Zimmerle
2016-06-23 23:12:40 -03:00
parent 74a34261ab
commit 0c0a9b3083
2 changed files with 5 additions and 3 deletions

View File

@@ -91,6 +91,7 @@ using modsecurity::actions::transformations::Transformation;
using modsecurity::operators::Operator;
using modsecurity::Rule;
using modsecurity::Utils::GeoLookup;
using modsecurity::removeBracketsIfNeeded;
using modsecurity::Variables::Variations::Count;
using modsecurity::Variables::Variations::Exclusion;
@@ -565,7 +566,7 @@ expression:
}
| CONFIG_DIR_SEC_MARKER
{
driver.addSecMarker($1);
driver.addSecMarker(removeBracketsIfNeeded($1));
}
| CONFIG_DIR_RULE_ENG CONFIG_VALUE_OFF
{