mirror of
https://github.com/nginx/nginx.git
synced 2024-12-01 03:17:17 +08:00
fix r3981 again for case "Accept-Encoding: gzip"
This commit is contained in:
parent
21fd22d089
commit
72a96bfdcb
@ -2209,7 +2209,7 @@ ngx_http_gzip_accept_encoding(ngx_str_t *ae)
|
||||
return NGX_DECLINED;
|
||||
}
|
||||
|
||||
if (p > start && (*(p - 1) == ',' || *(p - 1) == ' ')) {
|
||||
if (p == start || (*(p - 1) == ',' || *(p - 1) == ' ')) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user