diff src/http/ngx_http_parse.c @ 239:574bea0142be

nginx-0.0.1-2004-01-26-11:52:49 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Jan 2004 08:52:49 +0000
parents f1d0e5f09c1e
children 70e1c7d2b83d
line wrap: on
line diff
--- 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
                     break;
                 }
 
-                if (ch == '-' || ch == '_' || ch == '~') {
+                if (ch == '-' || ch == '_' || ch == '~' || ch == '.') {
                     break;
                 }
 
@@ -489,7 +489,7 @@ ngx_int_t ngx_http_parse_header_line(ngx
                 break;
             }
 
-            if (ch == '-' || ch == '_' || ch == '~') {
+            if (ch == '-' || ch == '_' || ch == '~' || ch == '.') {
                 break;
             }