T
T
todatasudata2021-06-23 19:37:12
Nginx
todatasudata, 2021-06-23 19:37:12

How to pass Cyrillic in nginx redirect url?

I'm setting up redirects. Part of the redirect urls of such a plan:

/site-section?param1=3¶m2=fubar fu/bar

Ie:
- there is Cyrillic;
- there may be spaces and even slashes in the value string of one of the parameters.

The problem is that when redirecting the Cyrillic alphabet turns into krakozyabra. A la:
/site-section?param1=3¶m2=пÑÑки/ÑаÐ


I specified charset utf-8 in nginx.conf, but it didn't help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2021-06-23
@todatasudata

https://ru.wikipedia.org/wiki/Punycode

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question