possible bug with location parse order

Adam Michaels adam at digitalagemedia.net
Sun Dec 9 12:32:58 MSK 2007


I'm running 0.5.32. I've noticed that regex locations are matched against the request URI before string based locations regardless of the order they are defined in the configuration.


location /foo {}

location ~ /foo.* {}

the second one is the only one that will be parsed.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20071209/227d57f2/attachment.html>

More information about the nginx mailing list