diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2016-02-11 15:21:42 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-02-16 06:40:12 +0000 |
commit | 638e824b784ba7357cc1e8cd395b076b6f4879fe (patch) | |
tree | 711258dc19c5ab73538b64ac48c959a667d35d2f /testing/nginx-naxsi/anonymise.patch | |
parent | 8daae2d91da7ea2065b57e71950970efbeba80a2 (diff) | |
download | aports-638e824b784ba7357cc1e8cd395b076b6f4879fe.tar.bz2 aports-638e824b784ba7357cc1e8cd395b076b6f4879fe.tar.xz |
testing/nginx-naxsi: update to 1.9.11
Diffstat (limited to 'testing/nginx-naxsi/anonymise.patch')
-rw-r--r-- | testing/nginx-naxsi/anonymise.patch | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/testing/nginx-naxsi/anonymise.patch b/testing/nginx-naxsi/anonymise.patch index 74841e0509..a563578725 100644 --- a/testing/nginx-naxsi/anonymise.patch +++ b/testing/nginx-naxsi/anonymise.patch @@ -41,36 +41,36 @@ "</body>" CRLF "</html>" CRLF ; ---- nginx-1.9.9/src/http/v2/ngx_http_v2_filter_module.c -+++ nginx-1.9.9/src/http/v2/ngx_http_v2_filter_module.c.new -@@ -214,10 +214,11 @@ +--- nginx-1.9.11/src/http/v2/ngx_http_v2_filter_module.c ++++ nginx-1.9.11/src/http/v2/ngx_http_v2_filter_module.c.new +@@ -214,10 +214,10 @@ clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); - if (r->headers_out.server == NULL) { -+/* if (r->headers_out.server == NULL) { - len += 1 + clcf->server_tokens ? ngx_http_v2_literal_size(NGINX_VER) - : ngx_http_v2_literal_size("nginx"); - } -+*/ ++/* if (r->headers_out.server == NULL) { + len += 1 + (clcf->server_tokens ? ngx_http_v2_literal_size(NGINX_VER) + : ngx_http_v2_literal_size("nginx")); +- } ++ } */ if (r->headers_out.date == NULL) { len += 1 + ngx_http_v2_literal_size("Wed, 31 Dec 1986 18:00:00 GMT"); -@@ -404,7 +405,7 @@ +@@ -404,7 +404,7 @@ pos = ngx_sprintf(pos, "%03ui", r->headers_out.status); } - if (r->headers_out.server == NULL) { -+/* if (r->headers_out.server == NULL) { ++/* if (r->headers_out.server == NULL) { *pos++ = ngx_http_v2_inc_indexed(NGX_HTTP_V2_SERVER_INDEX); if (clcf->server_tokens) { -@@ -416,6 +417,7 @@ +@@ -415,7 +415,7 @@ + *pos++ = NGX_HTTP_V2_ENCODE_RAW | (sizeof("nginx") - 1); pos = ngx_cpymem(pos, "nginx", sizeof("nginx") - 1); } - } -+*/ +- } ++ } */ if (r->headers_out.date == NULL) { *pos++ = ngx_http_v2_inc_indexed(NGX_HTTP_V2_DATE_INDEX); - |