mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Adds functions limitTo and toHexIfNeed into utils.cc
Those will be used in order to make the debug and audit logs readable.
This commit is contained in:
@@ -45,6 +45,8 @@ namespace ModSecurity {
|
||||
int urldecode_uni_nonstrict_inplace_ex(Assay *assay, unsigned char *input,
|
||||
int64_t input_len, int *changed);
|
||||
std::string phase_name(int x);
|
||||
std::string limitTo(int amount, const std::string &str);
|
||||
std::string toHexIfNeeded(const std::string &str);
|
||||
} // namespace ModSecurity
|
||||
|
||||
#define SRC_UTILS_H_
|
||||
|
Reference in New Issue
Block a user