From 0f17f6ce9f4188f1916c742f1fd1072ec8d33dbf Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 29 Jul 2008 16:55:11 +0000 Subject: case insensitive file system location support provided by locale only --- src/http/ngx_http_core_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http') 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; -- cgit