The official NGINX Open Source repository.
Go to file
Maxim Dounin ffba0eeefb Fixed alias in regex locations with limit_except/if.
The ngx_http_map_uri_to_path() function used clcf->regex to detect if
it's working within a location given by a regular expression and have
to replace full URI with alias (instead of a part matching the location
prefix).  This is incorrect due to clcf->regex being false in implicit
locations created by if and limit_except.

Fix is to preserve relevant information in clcf->alias instead, by setting
it to NGX_MAX_SIZE_T_VALUE if an alias was specified in a regex location.
2014-05-16 17:42:24 +04:00
auto Configure: typo fixed. 2014-04-30 19:16:30 +04:00
conf MIME: added application/xspf+xml MIME type (ticket #479). 2014-03-06 10:51:08 +01:00
contrib Contrib: added vim to README. 2013-12-06 19:58:27 +04:00
docs nginx-1.7.0-RELEASE 2014-04-24 16:54:22 +04:00
misc Documented the switch from java XSLScript to xslscript.pl. 2014-04-21 13:48:41 +04:00
src Fixed alias in regex locations with limit_except/if. 2014-05-16 17:42:24 +04:00
.hgtags release-1.7.0 tag 2014-04-24 16:54:23 +04:00