Problem with special characters in request get with django, nginx as reversed proxy & gunicorn

0

I have a Django application that shows a list of documents of different extensions, the name of the documents contain special characters such as accents, ñ, etc. When I show the list I put a link that points to the location of the document in the Media folder.

When I make a request to any of the files using the Django development server I can access it, by using the production environment gunicorn, nginx and django and I request one of my files that has special characters then I recive 500 response error. I want to know how I can allow requests to the files that I have in Media with special characters in my production environment.

    
asked by sckrs 19.12.2018 в 23:01
source

0 answers