diff --git a/ngx_http_header_inspect.c b/ngx_http_header_inspect.c index ab2ca30..157e6c6 100644 --- a/ngx_http_header_inspect.c +++ b/ngx_http_header_inspect.c @@ -1469,7 +1469,8 @@ ((d < '0') || (d > '9')) && ((d < 'a') || (d > 'z')) && ((d < 'A') || (d > 'Z')) - && (d != ':') && (d != ']') + && (d != ':') && (d != '.') + && (d != ']') ) { if ( conf->log ) { ngx_log_error(NGX_LOG_ALERT, log, 0, "header_inspect: illegal char at position %d in Host header \"%s\"", i, value.data);