mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Moves string related functions from utils' to
utils/string'
This commit is contained in:
@@ -56,6 +56,7 @@ class Driver;
|
||||
#include "operators/operator.h"
|
||||
#include "utils.h"
|
||||
#include "utils/geo_lookup.h"
|
||||
#include "utils/msc_string.h"
|
||||
#include "variables/xml.h"
|
||||
#include "variables/duration.h"
|
||||
#include "variables/env.h"
|
||||
@@ -121,7 +122,7 @@ using modsecurity::actions::Ver;
|
||||
using modsecurity::actions::transformations::None;
|
||||
using modsecurity::actions::transformations::Transformation;
|
||||
using modsecurity::operators::Operator;
|
||||
using modsecurity::removeBracketsIfNeeded;
|
||||
using modsecurity::utils::String;
|
||||
|
||||
|
||||
|
||||
@@ -577,7 +578,7 @@ expression:
|
||||
}
|
||||
| CONFIG_DIR_SEC_MARKER
|
||||
{
|
||||
driver.addSecMarker(removeBracketsIfNeeded($1));
|
||||
driver.addSecMarker(String::removeBracketsIfNeeded($1));
|
||||
}
|
||||
| CONFIG_DIR_RULE_ENG CONFIG_VALUE_OFF
|
||||
{
|
||||
|
Reference in New Issue
Block a user