]> git.kaiwu.me - nginx.git/commitdiff
fix caseless locations, the bug had been introduced in r3326
authorIgor Sysoev <igor@sysoev.ru>
Thu, 17 Dec 2009 14:25:46 +0000 (14:25 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 17 Dec 2009 14:25:46 +0000 (14:25 +0000)
src/http/ngx_http_core_module.c

index e05487ee2cdcd53cb57b73a86649e7d916604e35..edd294fed3ce915726337d3009966219847f003e 100644 (file)
@@ -2588,6 +2588,8 @@ ngx_http_core_regex_location(ngx_conf_t *cf, ngx_http_core_loc_conf_t *clcf,
 
 #if (NGX_HAVE_CASELESS_FILESYSTEM)
     rc.options = NGX_REGEX_CASELESS;
+#else
+    rc.options = caseless;
 #endif
 
     clcf->regex = ngx_http_regex_compile(cf, &rc);