------------------------------------------------------------ revno: 1350 committer: Mark Sapiro <msap...@value.net> branch nick: 2.1 timestamp: Tue 2012-03-27 15:16:34 -0700 message: Fixed a potential crash in the web UI if a language is removed from the LC_DESCRIPTIONS dictionary. (LP: #966565) modified: Mailman/htmlformat.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/htmlformat.py' --- Mailman/htmlformat.py 2012-02-05 21:19:39 +0000 +++ Mailman/htmlformat.py 2012-03-27 22:16:34 +0000 @@ -300,7 +300,7 @@ def Format(self, indent=0, **kws): charset = 'us-ascii' - if self.language: + if self.language and Utils.IsLanguage(self.language): charset = Utils.GetCharSet(self.language) output = ['Content-Type: text/html; charset=%s\n' % charset] if not self.suppress_head: === modified file 'NEWS' --- NEWS 2012-03-27 21:57:20 +0000 +++ NEWS 2012-03-27 22:16:34 +0000 @@ -98,6 +98,9 @@ Bug Fixes and other patches + - Fixed a potential crash in the web UI if a language is removed from the + LC_DESCRIPTIONS dictionary. (LP: #966565) + - Added an Auto-Submitted: header to invitations and (un)subscription confirmation requests to reduce the possibility of an autoresponder confirming the request. (LP: #265831)
_______________________________________________ Mailman-checkins mailing list Mailman-checkins@python.org Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org