diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-10-08 14:22:00 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-10-08 14:22:00 +0000 |
| commit | 671236993ac3c7e90e76fca8a8d988419686c555 (patch) | |
| tree | 6e97ad970311e786389c57860eb526f6360a6b93 | |
| parent | e2afcc5d2f4fd8d7cf5bc2592d275d0d4a99f2da (diff) | |
| download | nginx-671236993ac3c7e90e76fca8a8d988419686c555.tar.gz nginx-671236993ac3c7e90e76fca8a8d988419686c555.tar.bz2 | |
test comma separator in "Cache-Control"
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http_upstream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 86c5af8f4..b95db57a7 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -3035,7 +3035,7 @@ ngx_http_upstream_process_cache_control(ngx_http_request_t *r, n = 0; for (p += 8; p < last; p++) { - if (*p == ';' || *p == ' ') { + if (*p == ',' || *p == ';' || *p == ' ') { break; } |
