]> granicus.if.org Git - python/commit
#1693546: don't add quotes around RFC 2231 encoded values.
authorR. David Murray <rdmurray@bitdance.com>
Fri, 24 Dec 2010 22:36:49 +0000 (22:36 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Fri, 24 Dec 2010 22:36:49 +0000 (22:36 +0000)
commitdfd7eb0ba2f3296f28028970e395e38f3ae9eedc
tree02ded19904da4eeea1f27afcaf6b042734348188
parentddf53709eedd94450cc95c3ea0758c621790193d
#1693546: don't add quotes around RFC 2231 encoded values.

The RFC is bit hard to understand on this point, but the examples
clearly show that parameter values that are encoded according
to its charset/language rules don't have surrounding quotes, and
the ABNF does not allow for quotes.  So when we produce such
encoded values, we no longer add quotes.
Lib/email/message.py
Lib/email/test/test_email.py
Misc/NEWS