You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix body line iteration to properly decode Content-Transfer-Encoding
The previous fix (removing decode=True) stopped the crash but left
quoted-printable and base64 bodies undecoded, causing e.g. QP soft
line breaks (=20) to appear literally in addresses and break pattern
matching.
Add _body_line_iterator() to SimpleMatch which uses get_payload(decode=True)
to get CTE-decoded bytes, then decodes to str using the part's charset.
SimpleWarning imports and uses the same helper. Tagger likewise imports it
so topic matching works correctly on encoded message bodies.
0 commit comments