diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-01-26 08:52:49 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-01-26 08:52:49 +0000 |
commit | e04084c1b295f5a704c2962f82becb5f278d60e3 (patch) | |
tree | f5d6aef36c9c1650e7cdf27dea5b70b73c3f7f68 /src/http/ngx_http_parse.c | |
parent | 5c8c52f858c0112e9200ed1c4798a89e6c366bf2 (diff) | |
download | nginx-e04084c1b295f5a704c2962f82becb5f278d60e3.tar.gz nginx-e04084c1b295f5a704c2962f82becb5f278d60e3.zip |
nginx-0.0.1-2004-01-26-11:52:49 import
Diffstat (limited to 'src/http/ngx_http_parse.c')
-rw-r--r-- | src/http/ngx_http_parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c index 92ab2f7a2..38ee9ecb9 100644 --- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c @@ -463,7 +463,7 @@ ngx_int_t ngx_http_parse_header_line(ngx_http_request_t *r, ngx_hunk_t *h) break; } - if (ch == '-' || ch == '_' || ch == '~') { + if (ch == '-' || ch == '_' || ch == '~' || ch == '.') { break; } @@ -489,7 +489,7 @@ ngx_int_t ngx_http_parse_header_line(ngx_http_request_t *r, ngx_hunk_t *h) break; } - if (ch == '-' || ch == '_' || ch == '~') { + if (ch == '-' || ch == '_' || ch == '~' || ch == '.') { break; } |