Added URLENCODED_ERROR, which is raised when invalid URL encoding is encountered

This commit is contained in:
ivanr
2009-12-12 14:21:17 +00:00
parent 62f7e68234
commit 6d5e752cb3
4 changed files with 33 additions and 0 deletions

View File

@@ -295,6 +295,10 @@ apr_status_t modsecurity_tx_init(modsec_rec *msr) {
msr_log(msr, 1, "Initialisation: Error occurred while parsing QUERY_STRING arguments.");
return -1;
}
if (invalid_count) {
msr->urlencoded_error = 1;
}
}
msr->arguments_to_sanitize = apr_table_make(msr->mp, 16);