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 2dd7dce commit 35894f9Copy full SHA for 35894f9
1 file changed
src/ngx_http_security_headers_module.c
@@ -135,6 +135,7 @@ ngx_http_security_headers_filter(ngx_http_request_t *r)
135
ngx_table_elt_t *h_x_xss;
136
ngx_table_elt_t *h_x_fo;
137
ngx_http_security_headers_loc_conf_t *slcf;
138
+ ngx_uint_t i;
139
140
slcf = ngx_http_get_module_loc_conf(r, ngx_http_security_headers_module);
141
@@ -216,7 +217,7 @@ ngx_http_security_headers_filter(ngx_http_request_t *r)
216
217
218
part = &r->headers_out.headers.part;
219
header = part->elts;
- for (ngx_uint_t i = 0 ; ; i++ ) {
220
+ for ( i = 0 ; ; i++ ) {
221
if ( i >= part->nelts) {
222
if ( part->next == NULL ) {
223
break;
0 commit comments