summaryrefslogtreecommitdiffstats
path: root/Python/thread_pthread.h
diff options
context:
space:
mode:
authorbsiem <52461103+bsiem@users.noreply.github.com>2019-08-29 04:47:15 (GMT)
committerNed Deily <nad@python.org>2019-08-29 04:47:15 (GMT)
commitbd127b1b7dd50c76c4419d9c87c12901527d19da (patch)
tree7155b2d1021a40f88051d17d6bc385ecd83f86f2 /Python/thread_pthread.h
parent23985c6a64222df46cd7e21b9b21c0e37aa95e10 (diff)
downloadcpython-bd127b1b7dd50c76c4419d9c87c12901527d19da.zip
cpython-bd127b1b7dd50c76c4419d9c87c12901527d19da.tar.gz
cpython-bd127b1b7dd50c76c4419d9c87c12901527d19da.tar.bz2
[3.8] bpo-37482: Fix email address name with encoded words and special chars (GH-14561) (GH-15380)
Special characters in email address header display names are normally put within double quotes. However, encoded words (=?charset?x?...?=) are not allowed withing double quotes. When the header contains a word with special characters and another word that must be encoded, the first one must also be encoded. In the next example, the display name in the From header is quoted and therefore the comma is allowed; in the To header, the comma is not within quotes and not encoded, which is not allowed and therefore rejected by some mail servers. From: "Foo Bar, France" <foo@example.com> To: Foo Bar, =?utf-8?q?Espa=C3=B1a?= <foo@example.com> https://bugs.python.org/issue37482 (cherry picked from commit df0c21ff46c5c37b6913828ef8c7651f523432f8) Co-authored-by: bsiem <52461103+bsiem@users.noreply.github.com>
Diffstat (limited to 'Python/thread_pthread.h')
0 files changed, 0 insertions, 0 deletions