mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
Remove query string from error log. See #447.
This commit is contained in:
parent
e0c0d66906
commit
9dbc7807d9
5
CHANGES
5
CHANGES
@ -1,6 +1,9 @@
|
||||
21 Jan 2008 - 2.5.0-rc2
|
||||
23 Jan 2008 - 2.5.0-rc2
|
||||
-----------------------
|
||||
|
||||
* No longer log the query portion of the URI in the error log as
|
||||
it may contain sensitive data.
|
||||
|
||||
* There are no longer any default transformations performed.
|
||||
|
||||
* Implemented SecRuleUpdateActionById.
|
||||
|
@ -276,7 +276,7 @@ void internal_log(request_rec *r, directory_config *dcfg, modsec_rec *msr,
|
||||
|
||||
ap_log_error(APLOG_MARK, APLOG_ERR | APLOG_NOERRNO, 0, r->server,
|
||||
"[client %s] ModSecurity: %s%s [uri \"%s\"]%s", r->connection->remote_ip, str1,
|
||||
hostname, log_escape(msr->mp, r->unparsed_uri), unique_id);
|
||||
hostname, log_escape(msr->mp, r->uri), unique_id);
|
||||
|
||||
/* Add this message to the list. */
|
||||
if (msr != NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user