summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-07-07 10:22:30 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-07-07 10:22:30 +0000
commitc410db96b9103d30a33a7f16f3ede58265d63bab (patch)
treed4c212a844ca250be346fe28359e2180a52b7e26 /src/http/ngx_http_core_module.c
parentb5f5da3a37f2169d6745f7160203a792ab49cac0 (diff)
downloadnginx-c410db96b9103d30a33a7f16f3ede58265d63bab.tar.gz
nginx-c410db96b9103d30a33a7f16f3ede58265d63bab.tar.bz2
r2008 merge:
*) host in request line has priority *) allow several Host headers *) validate host
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index cb9eb14c7..a80947058 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -3216,8 +3216,7 @@ ngx_http_core_server_name(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
value[i].len--;
value[i].data++;
- sn->regex = ngx_regex_compile(&value[i], NGX_REGEX_CASELESS, cf->pool,
- &err);
+ sn->regex = ngx_regex_compile(&value[i], 0, cf->pool, &err);
if (sn->regex == NULL) {
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%s", err.data);