[ mailman-Bugs-948064 ] email address will slashes

SourceForge.net noreply at sourceforge.net
Thu Jun 10 02:42:31 EDT 2004


Bugs item #948064, was opened at 2004-05-04 12:39
Message generated for change (Comment added) made by litrium
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=948064&group_id=103

Category: (un)subscribing
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael (ciberous)
Assigned to: Nobody/Anonymous (nobody)
Summary: email address will slashes

Initial Comment:
The mailing list login/(un)subscribe form does not
accept email addresses with slashes in the name. In
particular, the user has a LotusNotes email address
which contains slashes.

For example, an email address such as
foo_bar/myschool/mydoe at notes.k12.hi.us will not be
accepted by the form. It responds that the email
address is illegal.

----------------------------------------------------------------------

Comment By: Vince Hoang (litrium)
Date: 2004-06-09 20:42

Message:
Logged In: YES 
user_id=635707

This patch for 2.1.4 removes / as a bad character to enable
Lotus Notes compatibility.

# diff -u Utils.py.old Utils.py
--- Utils.py.old        Wed Jun  9 20:37:06 2004
+++ Utils.py    Wed Jun  9 20:36:58 2004
@@ -198,7 +198,7 @@


 # TBD: what other characters should be disallowed?
-_badchars = re.compile(r'[][()<>|;^,/\200-\377]')
+_badchars = re.compile(r'[][()<>|;^,\200-\377]')

 def ValidateEmail(s):
     """Verify that the an email address isn't grossly evil."""

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2004-05-12 08:10

Message:
Logged In: NO 

I can confirm this bug on Mailman 2.1.4. Addresses with
slashes are rejected as hostile although they conform to
rfc822. Such addresses are also used on some systems to
deliver mail to subfolders, e.g.:

user+folder/subfolder at domain


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=948064&group_id=103



More information about the Mailman-coders mailing list