aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-09-02 14:02:57 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-09-02 14:02:57 +0000
commit3730543c26e5634be792813c312e86dcf77fc3a0 (patch)
treee42b9d10786b3786b275b6b7e4222780067920a2 /src/http/ngx_http_core_module.c
parent31e6fc82cc3a9d676d74b34248e4e6f99633f28e (diff)
downloadnginx-3730543c26e5634be792813c312e86dcf77fc3a0.tar.gz
nginx-3730543c26e5634be792813c312e86dcf77fc3a0.zip
gzip_disable msie6 ignored other patterns
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c2
1 files changed, 1 insertions, 1 deletions
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;
}