An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html
Go to file
Maxim Dounin e11584164f Added ngx_filename_cmp() with "/" sorted to the left.
This patch fixes incorrect handling of auto redirect in configurations
like:

    location /0  { }
    location /a- { }
    location /a/ { proxy_pass ... }

With previously used sorting, this resulted in the following locations
tree (as "-" is less than "/"):

        "/a-"
    "/0"    "/a/"

and a request to "/a" didn't match "/a/" with auto_redirect, as it
didn't traverse relevant tree node during lookup (it tested "/a-",
then "/0", and then falled back to null location).

To preserve locale use for non-ASCII characters on case-insensetive
systems, libc's tolower() used.
2013-09-23 19:37:13 +04:00
auto Events: support for EPOLLRDHUP (ticket #320). 2013-07-12 14:51:07 +04:00
conf MIME: added application/json MIME type. 2013-09-18 12:59:47 -07:00
contrib nginx-0.3.55-RELEASE import 2006-07-28 15:16:17 +00:00
docs nginx-1.5.5-RELEASE 2013-09-17 17:31:00 +04:00
misc Updated PCRE used for win32 builds. 2013-08-23 22:54:08 +04:00
src Added ngx_filename_cmp() with "/" sorted to the left. 2013-09-23 19:37:13 +04:00
.hgtags release-1.5.5 tag 2013-09-17 17:31:00 +04:00