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, bryced, r.david.murray
Date 2018-07-31.02:29:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533004150.82.0.56676864532.issue34277@psf.upfronthosting.co.za>
In-reply-to
Content
Well, it can't fold them and have them fit in the 78 character limit without adding whitespace that isn't in the original headers (unless there's a more subtle bug :)

The email package has the possibility of having special behavior based on the name of the header, so if DKIM headers have special rules, there is the possibility of implementing those special rules.  Basically, you can implement a parser that recognizes dkim headers and represents what parts can legally be folded using the resulting parse tree.  So it may be possible to fix this without changing the refold_source default.  It is also possible to specify that encoded words may not be used in a given header (that's a simple toggle), which may be all that is needed here.
History
Date User Action Args
2018-07-31 02:29:10r.david.murraysetrecipients: + r.david.murray, barry, bryced
2018-07-31 02:29:10r.david.murraysetmessageid: <1533004150.82.0.56676864532.issue34277@psf.upfronthosting.co.za>
2018-07-31 02:29:10r.david.murraylinkissue34277 messages
2018-07-31 02:29:10r.david.murraycreate