We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a257f8 commit 5931d34Copy full SHA for 5931d34
src/ngx_http_security_headers_module.c
@@ -252,8 +252,8 @@ ngx_http_security_headers_filter(ngx_http_request_t *r)
252
h_server->hash = 0;
253
254
size_t hide_headers_count = sizeof(hide_headers) / sizeof(hide_headers[0]);
255
-
256
- for (size_t i = 0; i < hide_headers_count; ++i) {
+ size_t i;
+ for (i = 0; i < hide_headers_count; ++i) {
257
ngx_set_headers_out_by_search(r, &hide_headers[i], &empty_val);
258
}
259
0 commit comments