diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-12-25 20:26:58 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-12-25 20:26:58 +0000 |
commit | 3b30a901b43c11c83ac598e0954c3c33a89d78fd (patch) | |
tree | d3cb44de69fa95516be20a38bc14cea0324e8200 /src/http/ngx_http_parse.c | |
parent | fc68ea6f7bedd491126ef57110b6362e9af8900f (diff) | |
download | nginx-3b30a901b43c11c83ac598e0954c3c33a89d78fd.tar.gz nginx-3b30a901b43c11c83ac598e0954c3c33a89d78fd.zip |
nginx-0.0.1-2003-12-25-23:26:58 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 599114c49..92ab2f7a2 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 == '-') { + if (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 == '-') { + if (ch == '-' || ch == '_' || ch == '~') { break; } |