mirror of
https://github.com/nginx/nginx.git
synced 2024-12-01 11:19:00 +08:00
test comma separator in "Cache-Control"
This commit is contained in:
parent
e2afcc5d2f
commit
671236993a
@ -3035,7 +3035,7 @@ ngx_http_upstream_process_cache_control(ngx_http_request_t *r,
|
|||||||
n = 0;
|
n = 0;
|
||||||
|
|
||||||
for (p += 8; p < last; p++) {
|
for (p += 8; p < last; p++) {
|
||||||
if (*p == ';' || *p == ' ') {
|
if (*p == ',' || *p == ';' || *p == ' ') {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user