owner:jennifer@painless-security.com resolution_fixed type_defect | by jennifer@painless-security.com
The ipr process_email management command decodes an incoming message, then validates its 'to' field before accepting it. This leads to an exception if an email is incorrectly encoded.
To avoid this, leave the message as bytes until it is known that it will be accepted, then decode it.
Issue migrated from trac:3489 at 2022-03-04 09:22:26 +0000
owner:jennifer@painless-security.comresolution_fixedtype_defect| by jennifer@painless-security.comThe ipr
process_emailmanagement command decodes an incoming message, then validates its 'to' field before accepting it. This leads to an exception if an email is incorrectly encoded.To avoid this, leave the message as bytes until it is known that it will be accepted, then decode it.
Issue migrated from trac:3489 at 2022-03-04 09:22:26 +0000