fastcgi_split_path_info capture group bug?

uid_b nginx-forum at nginx.us
Fri Jan 21 02:30:37 MSK 2011


uid_b Wrote:
-------------------------------------------------------
> scratch that!
> 
> regex was a little greedy, should look like:
> ^(.+\.php)(.*?)\?

unless of course you're using the pcre library which can't handle \??

this actually works: ^(.+\.php)([^?]*).*$

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,168078,168097#msg-168097




More information about the nginx mailing list