This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tkikuchi
Recipients barry, ggenellina, ishimoto, jafo, kael, leromarinvit, r.david.murray, tkikuchi, tlynn, tony_nelson
Date 2010-09-27.01:18:17
SpamBayes Score 0.0054822904
Marked as misclassified No
Message-id <1285550301.24.0.72201925086.issue1079@psf.upfronthosting.co.za>
In-reply-to
Content
Hi, all

I am against applying these patches because they will insert space separations in re-composed header (with str() function).

Sm=?ISO-8859-1?B?9g==?=rg=?ISO-8859-1?B?5Q==?=sbord 
-> [('Sm', None), ('\xf6', 'iso-8859-1'), ('rg', None), ('\xe5', 'iso-8859-1'), ('sbord', None)]
-> Sm =?iso-8859-1?q?=F6?= rg =?iso-8859-1?q?=E5?= sbord

Instead, I submit a small recipe for decoding non-compliant RFC2047 header where space separation is not properly inserted between encoded_word and us-ascii characters.

Please try!
History
Date User Action Args
2010-09-27 01:18:21tkikuchisetrecipients: + tkikuchi, barry, jafo, ishimoto, tlynn, ggenellina, tony_nelson, kael, r.david.murray, leromarinvit
2010-09-27 01:18:21tkikuchisetmessageid: <1285550301.24.0.72201925086.issue1079@psf.upfronthosting.co.za>
2010-09-27 01:18:19tkikuchilinkissue1079 messages
2010-09-27 01:18:19tkikuchicreate