Skip to content

Fix mailman.email.message.Message.as_string() to not return surrogates.

Mark Sapiro requested to merge msapiro/mailman:fix_732 into master

Fixes #732 (closed)

Certain arguably defective messages contain non-ascii in a MIME prologue and this causes unicode surrogates in the stringified message. Use email.utils._sanitize() to clean these up.

Merge request reports