aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-08-28 08:19:02 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-08-28 08:19:02 +0000
commitaa4200b551f591fb61cd38d1015f2935eaaa20ac (patch)
treead257e8e8e826c122e1b4e207dab580d3ccaa54f /src/http/ngx_http_request.c
parent6fb506a21500dcdf3878d1553c57bd49d0f844b2 (diff)
downloadnginx-aa4200b551f591fb61cd38d1015f2935eaaa20ac.tar.gz
nginx-aa4200b551f591fb61cd38d1015f2935eaaa20ac.zip
do not disable gzip for MSIE 6.0 SV1 in "gzip_disable msie6"
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 5f46e61cc..187310b96 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -1386,8 +1386,13 @@ ngx_http_process_user_agent(ngx_http_request_t *r, ngx_table_elt_t *h,
r->headers_in.msie4 = 1;
/* fall through */
case '5':
- case '6':
r->headers_in.msie6 = 1;
+ break;
+ case '6':
+ if (ngx_strstrn(msie + 8, "SV1", 3 - 1) == NULL) {
+ r->headers_in.msie6 = 1;
+ }
+ break;
}
}