fix r3981 again for case "Accept-Encoding: gzip"
This commit is contained in:
parent
823636ccfa
commit
d3a9feaa10
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue