Я пишу код на Python следующим образом:
Код: Выделить всё
from urllib.parse import quote_plus
file_name = quote_plus(filename)
Код: Выделить всё
urlon server my stored with space "name is oscar"
My webserver in
Код: Выделить всё
nginxКод: Выделить всё
urlКод: Выделить всё
nginxI saw rewrite can help, but I don't know how work with.
Источник: https://stackoverflow.com/questions/781 ... quote-plus