mirror of
https://github.com/nginx/nginx.git
synced 2026-08-10 04:58:14 -05:00
fix r3981 again for case "Accept-Encoding: gzip"
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user