Messages with empty subject line will not be delivered

Bug #266133 reported by Laue
2
Affects Status Importance Assigned to Milestone
GNU Mailman
New
Medium
Unassigned

Bug Description

In MailCommandHandler.py,
splitsubj = string.split(subject) is called.
If, however subject is empty, this leads to an error like:
File "/usr/lib/mailman/Mailman/MailCommandHandler.py",
line 163, in ParseMailCommands
splitsubj = string.split(subject)
File "/usr/lib/python2.2/string.py", line 117, in split
return s.split(sep, maxsplit)
AttributeError : 'NoneType' object has no attribute
'split'

A possible solution could be to insert

if (subject == None): subject = ''"

before string.split(subject) is called.

[http://sourceforge.net/tracker/index.php?func=detail&aid=1031729&group_id=103&atid=100103]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.