Update of /cvsroot/mailman/mailman/Mailman
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26983/Mailman

Modified Files:
      Tag: Release_2_1-maint
        Utils.py 
Log Message:
Add '%' and '!' in _badchars. They are used for source routing.


Index: Utils.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Utils.py,v
retrieving revision 2.45.2.11
retrieving revision 2.45.2.12
diff -u -d -r2.45.2.11 -r2.45.2.12
--- Utils.py    31 Dec 2004 00:02:57 -0000      2.45.2.11
+++ Utils.py    11 Jan 2005 05:13:02 -0000      2.45.2.12
@@ -200,7 +200,7 @@
 
 
 # TBD: what other characters should be disallowed?
-_badchars = re.compile(r'[][()<>|;^,\000-\037\177-\377]')
+_badchars = re.compile(r'[][()<>|;^,%!\000-\037\177-\377]')
 
 def ValidateEmail(s):
     """Verify that the an email address isn't grossly evil."""

_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to