A text/plain message body is scrubbed with a .ksh extension
Bug #1917968 reported by
Mark Sapiro
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
Low
|
Mark Sapiro |
Bug Description
If a simple text/plain message has a Content-
It is only text/plain attachments that should be scrubbed in this way and they should be given a .txt extension.
Related branches
Changed in mailman: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Some msgs won't have a Content-Disposition header.
Mar 06 13:46:43 2021 (6223) uncaught archiver exception at filepos: 0 mailman/ Mailman/ Queue/Runner. py", line 119, in _oneloop _onefile( msg, msgdata) mailman/ Mailman/ Queue/Runner. py", line 190, in _onefile mlist, msg, msgdata) mailman/ Mailman/ Queue/ArchRunne r.py", line 77, in _dispose ArchiveMail( msg) mailman/ Mailman/ Archiver/ Archiver. py", line 250, in ArchiveMail ixMailbox( f) mailman/ Mailman/ Archiver/ pipermail. py", line 584, in processUnixMailbox python2. 7/mailbox. py", line 2076, in next _PartialFile( self.fp, start, stop)) mailman/ Mailman/ Mailbox. py", line 90, in scrubber mailman/ Mailman/ Mailbox. py", line 110, in scrub self._mlist, msg) mailman/ Mailman/ Handlers/ Scrubber. py", line 205, in process 'content- disposition' ).lower( ) == 'attachment' and \
Mar 06 13:46:43 2021 (6223) Uncaught runner exception: 'NoneType' object has no attribute 'lower'
Mar 06 13:46:43 2021 (6223) Traceback (most recent call last):
File "/var/lib/
self.
File "/var/lib/
keepqueued = self._dispose(
File "/var/lib/
mlist.
File "/var/lib/
h.processUn
File "/var/lib/
m = mbox.next()
File "/usr/lib/
return self.factory(
File "/var/lib/
return mailbox.scrub(msg)
File "/var/lib/
return self._scrubber(
File "/var/lib/
if part.get(
AttributeError: 'NoneType' object has no attribute 'lower'