Possible rewrite regular expression bug?

Peter Hoang lists at ruby-forum.com
Wed Jun 25 12:12:39 MSD 2008


Actually, I realise that Apache has NE (no encoding) flag for 
RewriteRule and that's why "C%2B%2B" is passed down intact to the 
backend server. I'm thinking about implementing this flag in NGINX:

rewrite ^/search /search/q-$q.html last ne;

or

rewrite ^/search /search/q-$q.html ne;


I'm digging into the source code right now. However, it might be better 
if someone   could quickly show me the right direction to achieve that.

Cheers,
Peter

-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list