From: Igor Sysoev Date: Thu, 2 Sep 2010 14:02:57 +0000 (+0000) Subject: gzip_disable msie6 ignored other patterns X-Git-Tag: release-0.8.50~3 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=3730543c26e5634be792813c312e86dcf77fc3a0;p=nginx.git gzip_disable msie6 ignored other patterns --- diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 53cbf5f5c..d29d20844 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -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++) { - if (ngx_strcmp(value[1].data, "msie6") == 0) { + if (ngx_strcmp(value[i].data, "msie6") == 0) { clcf->gzip_disable_msie6 = 1; continue; }