mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Change 'sanitise' to 'sanitize' everywhere, preserving the 'sanitise' action variants for backward compatibility.
This commit is contained in:
@@ -297,12 +297,12 @@ apr_status_t modsecurity_tx_init(modsec_rec *msr) {
|
||||
}
|
||||
}
|
||||
|
||||
msr->arguments_to_sanitise = apr_table_make(msr->mp, 16);
|
||||
if (msr->arguments_to_sanitise == NULL) return -1;
|
||||
msr->request_headers_to_sanitise = apr_table_make(msr->mp, 16);
|
||||
if (msr->request_headers_to_sanitise == NULL) return -1;
|
||||
msr->response_headers_to_sanitise = apr_table_make(msr->mp, 16);
|
||||
if (msr->response_headers_to_sanitise == NULL) return -1;
|
||||
msr->arguments_to_sanitize = apr_table_make(msr->mp, 16);
|
||||
if (msr->arguments_to_sanitize == NULL) return -1;
|
||||
msr->request_headers_to_sanitize = apr_table_make(msr->mp, 16);
|
||||
if (msr->request_headers_to_sanitize == NULL) return -1;
|
||||
msr->response_headers_to_sanitize = apr_table_make(msr->mp, 16);
|
||||
if (msr->response_headers_to_sanitize == NULL) return -1;
|
||||
|
||||
/* Initialise cookies */
|
||||
msr->request_cookies = apr_table_make(msr->mp, 16);
|
||||
|
Reference in New Issue
Block a user