mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Including space in the list of readable characters for debuglog
This commit is contained in:
parent
7a468a8fbe
commit
e88d2120fb
@ -1011,7 +1011,7 @@ std::string toHexIfNeeded(const std::string &str) {
|
||||
|
||||
for (int i = 0; i < str.size(); i++) {
|
||||
int c = str.at(i);
|
||||
if (c < 33 || c > 126) {
|
||||
if (c < 32 || c > 126) {
|
||||
res << "\\x" << std::setw(2) << std::setfill('0') << std::hex << c;
|
||||
} else {
|
||||
res << str.at(i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user