mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Cosmetics: fixed the coding style
This commit is contained in:
@@ -30,7 +30,7 @@ Redirect::~Redirect() {
|
||||
Redirect::Redirect(const std::string& action)
|
||||
: Action(action, RunTimeOnlyIfMatchKind),
|
||||
m_url(action) {
|
||||
//m_url = m_url.erase(0, 9);
|
||||
// m_url = m_url.erase(0, 9);
|
||||
if (m_url.at(0) == '\'') {
|
||||
m_url.erase(0, 1);
|
||||
if (m_url.size() > 0) {
|
||||
|
@@ -102,7 +102,8 @@ void SetVar::dump() {
|
||||
bool SetVar::evaluate(Rule *rule, Assay *assay) {
|
||||
std::string targetValue;
|
||||
int value = 0;
|
||||
std::string variableNameExpanded = MacroExpansion::expand(variableName, assay);
|
||||
std::string variableNameExpanded = MacroExpansion::expand(variableName,
|
||||
assay);
|
||||
std::string resolvedPre = MacroExpansion::expand(predicate, assay);
|
||||
|
||||
if (operation == setOperation) {
|
||||
|
Reference in New Issue
Block a user