commit | 72a96bfdcb3af2436b9123d8363782f7ad047459 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Mon Aug 01 14:38:09 2011 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Mon Aug 01 14:38:09 2011 +0000 |
tree | 8883587e6d2e69a3c4ab218da8e2a4d0b7e3e2b8 | |
parent | 21fd22d089d92f4f1db5ad776545c3c8d389ce1d [diff] |
fix r3981 again for case "Accept-Encoding: gzip"
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index d2b90f1..f7ebacb 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c
@@ -2209,7 +2209,7 @@ return NGX_DECLINED; } - if (p > start && (*(p - 1) == ',' || *(p - 1) == ' ')) { + if (p == start || (*(p - 1) == ',' || *(p - 1) == ' ')) { break; }