Don't log a spurious "-" if a request has been rejected
before mod_log_forensic could attach its id to it.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693292
Submitted by: sf
Reviewed/backported by: jim
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1416584 13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.4.4
+ *) mod_log_forensic: Don't log a spurious "-" if a request has been rejected
+ before mod_log_forensic could attach its id to it. [Stefan Fritsch]
+
*) rotatelogs: Omit the second argument for the first invocation of
a post-rotate program when -p is used, per the documentation.
[Joe Orton]
documentation patch : http://apache-doc-fr.gryzor.com/fallbackresource_disabled_2.4_doc.patch
+1: gryzor, covener, sf
- * mod_log_forensic: Don't log spurious "-" characters.
- trunk patch: http://svn.apache.org/viewvc?view=revision&revision=1410954
- 2.4.x patch: trunk patch works (modulo CHANGES)
- +1: sf, jailletc36, jim
-
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
apr_size_t l, n;
apr_status_t rv;
- if (!cfg->fd) {
+ if (!cfg->fd || id == NULL) {
return DECLINED;
}