mirror of
https://github.com/nginx/nginx.git
synced 2026-08-03 22:33:10 +00:00
fix gzip quantity: "q=0." and "q=1." are valid values according to RFC
This commit is contained in:
parent
48d17bca94
commit
de236d3a2c
1 changed files with 1 additions and 1 deletions
|
|
@ -2309,7 +2309,7 @@ ngx_http_gzip_quantity(u_char *p, u_char *last)
|
|||
return 0;
|
||||
}
|
||||
|
||||
if (q > 100 || n == 0 || n > 3) {
|
||||
if (q > 100 || n > 3) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue