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 r.david.murray
Recipients barry, r.david.murray, rednaw
Date 2014-02-23.23:47:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1393199244.56.0.781848425574.issue20747@psf.upfronthosting.co.za>
In-reply-to
Content
The line wrapping is done by Header, not header_encode.  The bug appears to be that maxlinelen=None is not passed to base64mime's header_encode the way it is to quoprimime's header_encode...and that base64mime doesn't handle a maxlinelen of None.  Using maxlinelen=9999999 in the base64mime.header_encode calll, your base64 example also results in a single line header.

This should be fixed.  It does not affect python3, which uses a different folding algorithm.
History
Date User Action Args
2014-02-23 23:47:24r.david.murraysetrecipients: + r.david.murray, barry, rednaw
2014-02-23 23:47:24r.david.murraysetmessageid: <1393199244.56.0.781848425574.issue20747@psf.upfronthosting.co.za>
2014-02-23 23:47:24r.david.murraylinkissue20747 messages
2014-02-23 23:47:24r.david.murraycreate