aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_parse.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-01-26 08:52:49 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-01-26 08:52:49 +0000
commite04084c1b295f5a704c2962f82becb5f278d60e3 (patch)
treef5d6aef36c9c1650e7cdf27dea5b70b73c3f7f68 /src/http/ngx_http_parse.c
parent5c8c52f858c0112e9200ed1c4798a89e6c366bf2 (diff)
downloadnginx-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.c4
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;
}