------------------------------------------------------------
revno: 1754
committer: Mark Sapiro <m...@msapiro.net>
branch nick: 2.1
timestamp: Mon 2018-05-21 11:37:57 -0700
message:
  A few more error messages have had their values HTML escaped.
modified:
  Mailman/Gui/GUIBase.py
  NEWS


--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1

Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/Gui/GUIBase.py'
--- Mailman/Gui/GUIBase.py	2015-02-04 04:48:25 +0000
+++ Mailman/Gui/GUIBase.py	2018-05-21 18:37:57 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2015 by the Free Software Foundation, Inc.
+# Copyright (C) 2002-2018 by the Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
@@ -173,6 +173,7 @@
                 doc.addError(_('Invalid value for variable: %(property)s'))
             # This is the parent of MMBadEmailError and MMHostileAddress
             except Errors.EmailAddressError, error:
+                error = Utils.websafe(str(error))
                 doc.addError(
                     _('Bad email address for option %(property)s: %(error)s'))
             else:

=== modified file 'NEWS'
--- NEWS	2018-05-05 16:25:09 +0000
+++ NEWS	2018-05-21 18:37:57 +0000
@@ -12,6 +12,8 @@
     - Existing protections against malicious listowners injecting evil
       scripts into listinfo pages have had a few more checks added.
 
+    - A few more error messages have had their values HTML escaped.
+
   i18n
 
     - The Russian translation has been updated by Danil Smirnov.

_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to