]> git.kaiwu.me - nginx.git/commitdiff
gzip_disable msie6 ignored other patterns
authorIgor Sysoev <igor@sysoev.ru>
Thu, 2 Sep 2010 14:02:57 +0000 (14:02 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 2 Sep 2010 14:02:57 +0000 (14:02 +0000)
src/http/ngx_http_core_module.c

index 53cbf5f5caca5cf62d23c4ad021de799afc258db..d29d20844ebfa29ebb4da302b63115a54cfee2ab 100644 (file)
@@ -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;
         }