mirror of
https://github.com/nginx/nginx.git
synced 2024-12-22 15:13:28 -06: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;
|
return NGX_DECLINED;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (p > start && (*(p - 1) == ',' || *(p - 1) == ' ')) {
|
if (p == start || (*(p - 1) == ',' || *(p - 1) == ' ')) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user