mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-17 18:05:28 +03:00
Improves the secrules parser
This commit is contained in:
@@ -30,8 +30,10 @@ namespace actions {
|
||||
Rev::Rev(std::string action)
|
||||
: Action(action, ConfigurationKind),
|
||||
m_rev(action) {
|
||||
m_rev.erase(0, 1);
|
||||
m_rev.pop_back();
|
||||
if (m_rev.at(0) == '\'') {
|
||||
m_rev.erase(0, 1);
|
||||
m_rev.pop_back();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user