Tuesday, 27 August 2013

Unicode characters in nginx fastcgi links

Unicode characters in nginx fastcgi links

I have a django project hosted over nginx with fastcgi. Django has some
urls that user cyrillic characters. But when I try to open page with such
link, django tells that it doesn't have such model, because the link got
escaped and is taken to django as "%D0%BA%D0%BD%D0%B8%D0%B3%D0%B8". On
apache the same project works fine. What option do I need to tell nginx
not to escape links like that?

No comments:

Post a Comment