Skip to content
This repository was archived by the owner on May 5, 2020. It is now read-only.

Commit 64aa4a2

Browse files
author
Issam Maghni
committed
nginx-length-hiding-filter-module: return newline
1 parent 3151615 commit 64aa4a2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ngx_lhfm_newline.patch

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
+++ nginx-length-hiding-filter-module/ngx_http_length_hiding_filter_module.c
2+
@@ -274,7 +274,7 @@
3+
*s++ = base[ngx_random() % base_len];
4+
len--;
5+
}
6+
- s = ngx_copy(s, " -->", 4);
7+
+ s = ngx_copy(s, " -->\n", 5);
8+
9+
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
10+
"http length hiding filter : str %s", d);

0 commit comments

Comments
 (0)