diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-09-08 12:26:42 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-09-08 12:26:42 +0400 |
commit | f8c4ae3151b0cfab19d06fb89d2ddab2c45c8ea9 (patch) | |
tree | 88c80e4c3365f31aa5f44e4c30b3f136a1125176 | |
parent | 2e2b81d21311a500522befd766910e9f9a7241d8 (diff) |
allow underscores in client request header lines
-rw-r--r-- | src/http/ngx_http_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c index 9777ebb98..2fce7acac 100644 --- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c @@ -720,7 +720,7 @@ ngx_http_parse_header_line(ngx_http_request_t *r, ngx_buf_t *b) static u_char lowcase[] = "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0-\0\0" "0123456789\0\0\0\0\0\0" - "\0abcdefghijklmnopqrstuvwxyz\0\0\0\0\0" + "\0abcdefghijklmnopqrstuvwxyz\0\0\0\0_" "\0abcdefghijklmnopqrstuvwxyz\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" |