mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
e750702899
Useful for those that want to log attempts to exploit that recent Apache vulnerability, or who need or want to use their current Apache version for some reason.
14 lines
454 B
C
14 lines
454 B
C
--- mod_blowchunks-1.3.c.orig Sat Jun 22 22:44:01 2002
|
|
+++ mod_blowchunks-1.3.c Sat Jun 22 22:45:18 2002
|
|
@@ -56,8 +56,10 @@
|
|
ap_table_do(blowchunks_check_one_header,&found,r->headers_in,
|
|
"Transfer-Encoding",NULL);
|
|
if (found==TRUE) {
|
|
+#ifdef LOG_BLOWCHUNK
|
|
ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r,
|
|
"Transfer-Encoding: chunked - denied and logged");
|
|
+#endif
|
|
return HTTP_BAD_REQUEST;
|
|
}
|
|
return DECLINED;
|