mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
fix: add ARGS to sanitize list only if it's not added yet
This commit is contained in:
@@ -70,6 +70,7 @@ int json_add_argument(modsec_rec *msr, const char *value, unsigned length)
|
||||
return 0;
|
||||
}
|
||||
|
||||
arg->marked_for_sanitization = 0;
|
||||
apr_table_addn(msr->arguments,
|
||||
log_escape_nq_ex(msr->mp, arg->name, arg->name_len), (void *) arg);
|
||||
|
||||
|
Reference in New Issue
Block a user