changeset 3754:5f58badd13ed

gzip_disable msie6 ignored other patterns
author Igor Sysoev <igor@sysoev.ru>
date Thu, 02 Sep 2010 14:02:57 +0000
parents 9da3a04fc845
children 76e3a93821b1
files src/http/ngx_http_core_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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, ng
 
     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;
         }