[Mailman-Developers] Low priority suggestion: addressing

John_Larson@cargill.com John_Larson@cargill.com
Tue, 5 Sep 2000 10:12:13 -0500


Handle "/" in usernames on mail addresses.

HP Openmail uses a last_first/mnode@mnode.domain format for it's email 
addreses when referencing them from SMTP.

The CGI uses the / as a delimiter for tokens so it thinks that the 
address is "last_first" instead of "last_first/mnode@mnode.domain".

Emailing to lists and subscribing to addresses with this format DOES 
WORK.

It's only the admin CGI that is broken because of the parsing.

I did a quick hack to handle_opts.py and options.py that basically 
"looked" for more than the ones expected for the CGI and then appended 
the second parameter to the first, concatenating a "/" inbetween. This 
is nasy and site specific so I won't publish the code here. (or explain 
it really well :)

What really should be done is to escape the / in the form or something 
like that.

If I had more python and CGI background I would have submitted a patch 
but...

Thanks!

-John Larson / john_larson@cargill.com