[Mailman-Developers] Patch: ignoring (no subject) in the subject line of a administrative
request
Ralf Laue
ralf.laue@virbus.de
Fri, 27 Apr 2001 16:01:37 +0200
Just a simple but useful patch:
If someone sends an administrative request to the -request address, he
or she may leave the subject line empty, writing the commands(s) in the
body of the message.
Netscape and other mailers suggest a default subject "(no subject)", and
the sender will get an error report because (no subject) is no valid
command.
Best Wishes,
Ralf
diff /usr/local/mailman/Mailman/MailCommandHandler.py
/usr/src/mailman-2.0.3/Mailman/MailCommandHandler.py
132,134d131
< # ignoring (no subject) in the subject line of a administrative
request
< if subject == "(no subject)" or subject == "(No Subject)"
< subject = ""