encode filenames as ascii instead of latin-1
latin-1 is allowed by pep3333, but that breaks gunicorn
This commit is contained in:
parent
401d7f9bb2
commit
b51ab3ff2c
3 changed files with 27 additions and 10 deletions
|
|
@ -9,6 +9,12 @@ Version 1.0.3
|
|||
|
||||
Unreleased
|
||||
|
||||
- :func:`send_file` encodes filenames as ASCII instead of Latin-1
|
||||
(ISO-8859-1). This fixes compatibility with Gunicorn, which is
|
||||
stricter about header encodings than PEP 3333. (`#2766`_)
|
||||
|
||||
.. _#2766: https://github.com/pallets/flask/issues/2766
|
||||
|
||||
|
||||
Version 1.0.2
|
||||
-------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue