Hi Mark,

Mark Sapiro wrote:

The bug report is at
https://sourceforge.net/tracker/index.php?func=detail&aid=1099840&group_id=103&atid=100103


Looks like we must add more on this list of bad characters.

Index: Utils.py
===================================================================
--- Utils.py    (revision 157)
+++ Utils.py    (working copy)
@@ -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."""

I'm going to add '%' and '!'. Are there any evil charcters like these?

--
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/

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

Reply via email to