Quantcast
Viewing all articles
Browse latest Browse all 53287

rewrite utf8 : why lower case

Hi

I have some routes that was previously with uppercase for language and now I want lowrcase. here is a route : /Ka/განცხადებები that should simply become /ka/განცხადებები

in my conf if ($uri ~ ^/K(.+)){ set $bb $1; rewrite ^(.*)$ $scheme://$host/k$bb permanent; }

and I cant understand why but /ka/%E1%83%92%E1%83%90%E1%83%9C%E1%83%AA%E1%83%AE%E1%83%90%E1%83%93%E1%83%94%E1%83%91%E1%83%94%E1%83%91%E1%83%98/

become

/ka/%e1%83%92%e1%83%90%e1%83%9c%e1%83%aa%e1%83%ae%e1%83%90%e1%83%93%e1%83%94%e1%83%91%e1%83%94%e1%83%91%e1%83%98

ie all uppercase letter become lowercase, that cause à pb with my rails app.

does anyone know why nginx do this ? and is it possible to block this ?

I can't just uppercase everything as there is some latin letter and my routes are case sensitive

thanks


Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>