aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2008-12-07 11:46:59 -0800
committerMark Sapiro <mark@msapiro.net>2008-12-07 11:46:59 -0800
commitb0cdc157d624b90287308b7b83c4f603be3174b5 (patch)
tree6d8342de636da7e47cf07f0c2f738a824f37022c
parent2274e704c435716f33ed9dabcb80bef0811ba50c (diff)
downloadmailman2-b0cdc157d624b90287308b7b83c4f603be3174b5.tar.gz
mailman2-b0cdc157d624b90287308b7b83c4f603be3174b5.tar.xz
mailman2-b0cdc157d624b90287308b7b83c4f603be3174b5.zip
Fixed an issue where list creation would report bad owner email
instead of bad listname when the list name had non-ascii characters. SF Bug #2126489.
-rw-r--r--Mailman/MailList.py2
-rw-r--r--NEWS4
2 files changed, 5 insertions, 1 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index ac2d1baf..674017d1 100644
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -491,7 +491,7 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin,
postingaddr = '%s@%s' % (name, emailhost)
try:
Utils.ValidateEmail(postingaddr)
- except Errors.MMBadEmailError:
+ except Errors.EmailAddressError:
raise Errors.BadListNameError, postingaddr
# Validate the admin's email address
Utils.ValidateEmail(admin)
diff --git a/NEWS b/NEWS
index 35f5d3ae..99d0d3be 100644
--- a/NEWS
+++ b/NEWS
@@ -50,6 +50,10 @@ Here is a history of user visible changes to Mailman.
to unicode of a header/footer that was already unicode because of
interpolating a unicode value.
+ - Fixed an issue where list creation would report bad owner email
+ instead of bad listname when the list name had non-ascii characters.
+ SF Bug #2126489.
+
2.1.11 (30-Jun-2008)
New Features