From 3b30a901b43c11c83ac598e0954c3c33a89d78fd Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 25 Dec 2003 20:26:58 +0000 Subject: nginx-0.0.1-2003-12-25-23:26:58 import --- src/http/ngx_http_parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/http/ngx_http_parse.c') 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; } -- cgit v1.2.3