commit | 0f17f6ce9f4188f1916c742f1fd1072ec8d33dbf | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Tue Jul 29 16:55:11 2008 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Tue Jul 29 16:55:11 2008 +0000 |
tree | f943f0921ba1038c7b87b13310abe8b9071b8a10 | |
parent | a089857143b4879c7a12d6be7c030b7dfc6dcb8d [diff] [blame] |
case insensitive file system location support provided by locale only
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 20aba86..0ddfc04 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c
@@ -1204,7 +1204,7 @@ 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;