]> git.kaiwu.me - nginx.git/commit
Caseless location tree construction (ticket #90).
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 23 Sep 2013 15:37:06 +0000 (19:37 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 23 Sep 2013 15:37:06 +0000 (19:37 +0400)
commitd2ef70e97acbda42204d589d0886be88314016c2
tree85fa5a75524703bfc0d22bda12c255aa95afef6b
parentf52a2c7585092b980866fde5d1a0569fe2bf43b2
Caseless location tree construction (ticket #90).

Location tree was always constructed using case-sensitive comparison, even
on case-insensitive systems.  This resulted in incorrect operation if
uppercase letters were used in location directives.  Notably, the
following config:

    location /a { ... }
    location /B { ... }

failed to properly map requests to "/B" into "location /B".
src/http/ngx_http.c
src/http/ngx_http_core_module.c