aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Utils.py
diff options
context:
space:
mode:
authortkikuchi <>2005-01-11 05:13:02 +0000
committertkikuchi <>2005-01-11 05:13:02 +0000
commit37b79d5cbecb00b7d5c743c2fe96aaf2ea44bb6d (patch)
tree768f925c458ff9397c324405b1009f3ec15297fa /Mailman/Utils.py
parent7176acd43716a22bcd58a4bfa9e6b12cc8663cca (diff)
downloadmailman2-37b79d5cbecb00b7d5c743c2fe96aaf2ea44bb6d.tar.gz
mailman2-37b79d5cbecb00b7d5c743c2fe96aaf2ea44bb6d.tar.xz
mailman2-37b79d5cbecb00b7d5c743c2fe96aaf2ea44bb6d.zip
Add '%' and '!' in _badchars. They are used for source routing.
Diffstat (limited to '')
-rw-r--r--Mailman/Utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Utils.py b/Mailman/Utils.py
index 18b1c468..d4319026 100644
--- a/Mailman/Utils.py
+++ b/Mailman/Utils.py
@@ -200,7 +200,7 @@ def LCDomain(addr):
# 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."""