mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Cosmetics: Reduce the coding style warnings
This commit is contained in:
@@ -31,7 +31,8 @@ class LogData : public Action {
|
||||
public:
|
||||
explicit LogData(std::string action);
|
||||
|
||||
bool evaluate(Rule *rule, Transaction *transaction, RuleMessage *rm) override;
|
||||
bool evaluate(Rule *rule, Transaction *transaction,
|
||||
RuleMessage *rm) override;
|
||||
|
||||
private:
|
||||
std::string m_data;
|
||||
|
@@ -31,7 +31,8 @@ class Tag : public Action {
|
||||
public:
|
||||
explicit Tag(std::string action);
|
||||
|
||||
bool evaluate(Rule *rule, Transaction *transaction, RuleMessage *rm) override;
|
||||
bool evaluate(Rule *rule, Transaction *transaction,
|
||||
RuleMessage *rm) override;
|
||||
|
||||
private:
|
||||
std::string m_tag;
|
||||
|
@@ -45,7 +45,7 @@ std::string HtmlEntityDecode::evaluate(std::string value,
|
||||
|
||||
// FIXME: html_entities_decode_inplace is not working as expected
|
||||
// temporary disabled to perform the audit_log tests.
|
||||
//html_entities_decode_inplace((unsigned char *)tmp, value.size());
|
||||
// html_entities_decode_inplace((unsigned char *)tmp, value.size());
|
||||
std::string ret("");
|
||||
ret.assign(tmp);
|
||||
free(tmp);
|
||||
|
Reference in New Issue
Block a user