mirror of
https://github.com/nginx/nginx.git
synced 2025-06-12 21:52:41 +08:00
gzip_disable msie6 ignored other patterns
This commit is contained in:
parent
31e6fc82cc
commit
3730543c26
@ -4390,7 +4390,7 @@ ngx_http_gzip_disable(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
|||||||
|
|
||||||
for (i = 1; i < cf->args->nelts; i++) {
|
for (i = 1; i < cf->args->nelts; i++) {
|
||||||
|
|
||||||
if (ngx_strcmp(value[1].data, "msie6") == 0) {
|
if (ngx_strcmp(value[i].data, "msie6") == 0) {
|
||||||
clcf->gzip_disable_msie6 = 1;
|
clcf->gzip_disable_msie6 = 1;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user