mirror of
https://github.com/nginx/nginx.git
synced 2026-06-26 03:42:06 +00:00
fix r3981 for case "Accept-Encoding: gzip"
This commit is contained in:
parent
2f3668b59b
commit
bd7dfe44c5
1 changed files with 1 additions and 1 deletions
|
|
@ -2031,7 +2031,7 @@ ngx_http_gzip_ok(ngx_http_request_t *r)
|
|||
return NGX_DECLINED;
|
||||
}
|
||||
|
||||
if (ae->value.len < 5) {
|
||||
if (ae->value.len < sizeof("gzip") - 1) {
|
||||
return NGX_DECLINED;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue