New submission from Serge Droz <se...@drozilla.ch>:
The issue is really this: https://noxxi.de/research/mime-5-easy-steps-to-bypass-av.html get_payload should with decode=Treu should check the validity of the syntax and throw an error if it is not. This would happen if the underlying call to base64.decode would be called with validate=True ---------- messages: 321574 nosy: droz priority: normal severity: normal status: open title: email.message.get_payload should enforce correct encoding _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34104> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com