aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-07-29 16:55:11 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-07-29 16:55:11 +0000
commit0f17f6ce9f4188f1916c742f1fd1072ec8d33dbf (patch)
treef943f0921ba1038c7b87b13310abe8b9071b8a10 /src/http/ngx_http_core_module.c
parenta089857143b4879c7a12d6be7c030b7dfc6dcb8d (diff)
downloadnginx-0f17f6ce9f4188f1916c742f1fd1072ec8d33dbf.tar.gz
nginx-0f17f6ce9f4188f1916c742f1fd1072ec8d33dbf.zip
case insensitive file system location support provided by locale only
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 20aba8653..0ddfc04d1 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -1204,7 +1204,7 @@ ngx_http_core_find_static_location(ngx_http_request_t *r,
n = (len <= (size_t) node->len) ? len : node->len;
- rc = ngx_memcmp(uri, node->name, n);
+ rc = ngx_filename_cmp(uri, node->name, n);
if (rc != 0) {
node = (rc < 0) ? node->left : node->right;