-
Notifications
You must be signed in to change notification settings - Fork 1
/
nginx-1.14.x-1.17.x-ngx_http_special_response.c.patch
43 lines (33 loc) · 1.32 KB
/
nginx-1.14.x-1.17.x-ngx_http_special_response.c.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
--- src/http/ngx_http_special_response.c 2017-09-05 18:10:54.121729433 +0900
+++ src/http/ngx_http_special_response.c.new 2017-09-05 18:13:14.571218420 +0900
@@ -19,34 +19,34 @@
static u_char ngx_http_error_full_tail[] =
-"<hr><center>" NGINX_VER "</center>" CRLF
+//"<hr><center>" NGINX_VER "</center>" CRLF
"</body>" CRLF
"</html>" CRLF
;
static u_char ngx_http_error_build_tail[] =
-"<hr><center>" NGINX_VER_BUILD "</center>" CRLF
+//"<hr><center>" NGINX_VER_BUILD "</center>" CRLF
"</body>" CRLF
"</html>" CRLF
;
static u_char ngx_http_error_tail[] =
-"<hr><center>nginx</center>" CRLF
+//"<hr><center>nginx</center>" CRLF
"</body>" CRLF
"</html>" CRLF
;
-static u_char ngx_http_msie_padding[] =
+static u_char ngx_http_msie_padding[] = CRLF;
+/* "<!-- a padding to disable MSIE and Chrome friendly error page -->" CRLF
"<!-- a padding to disable MSIE and Chrome friendly error page -->" CRLF
"<!-- a padding to disable MSIE and Chrome friendly error page -->" CRLF
"<!-- a padding to disable MSIE and Chrome friendly error page -->" CRLF
"<!-- a padding to disable MSIE and Chrome friendly error page -->" CRLF
"<!-- a padding to disable MSIE and Chrome friendly error page -->" CRLF
-"<!-- a padding to disable MSIE and Chrome friendly error page -->" CRLF
-;
+;*/
static u_char ngx_http_msie_refresh_head[] =