mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Add more char to escape in log_escape_re
This commit is contained in:
@@ -863,6 +863,14 @@ char *_log_escape(apr_pool_t *mp, const unsigned char *input, unsigned long int
|
||||
*d++ = input[i];
|
||||
}
|
||||
break;
|
||||
case '?' :
|
||||
if (escape_re) {
|
||||
*d++ = '\\';
|
||||
*d++ = '?';
|
||||
} else {
|
||||
*d++ = input[i];
|
||||
}
|
||||
break;
|
||||
case '/' :
|
||||
if (escape_re) {
|
||||
*d++ = '\\';
|
||||
|
Reference in New Issue
Block a user