case insensitive file system location support provided by locale only

This commit is contained in:
Igor Sysoev
2008-07-29 16:55:11 +00:00
parent a089857143
commit 0f17f6ce9f
3 changed files with 16 additions and 1 deletions

View File

@@ -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;