Merge branch '1.0.x'

This commit is contained in:
David Lord 2019-07-01 09:52:06 -07:00
commit afd6250bab
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
4 changed files with 6 additions and 2 deletions

View file

@ -697,6 +697,8 @@ class TestSendfile(object):
(u"Vögel.txt", "Vogel.txt", "V%C3%B6gel.txt"),
# Native string not marked as Unicode on Python 2
("tést.txt", "test.txt", "t%C3%A9st.txt"),
# ":/" are not safe in filename* value
(u"те:/ст", '":/"', "%D1%82%D0%B5%3A%2F%D1%81%D1%82"),
),
)
def test_attachment_filename_encoding(self, filename, ascii, utf8):