Actually

part.get('content-disposition', '').lower() == 'attachment'...

is the fix.

-- 
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1917968

Title:
  A text/plain message body is scrubbed with a .ksh extension

To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1917968/+subscriptions
_______________________________________________
Mailman-coders mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/mailman-coders.python.org/
Member address: [email protected]

Reply via email to