[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mailman-cvs
Subject:    [Mailman-checkins] [Branch ~mailman-coders/mailman/2.1] Rev 1350: Fixed a potential	crash in the web
From:       noreply () launchpad ! net
Date:       2012-03-27 22:30:16
Message-ID: 20120327223016.32353.14608.launchpad () ackee ! canonical ! com
[Download RAW message or body]

------------------------------------------------------------
revno: 1350
committer: Mark Sapiro <msapiro@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-c=
oders/mailman/2.1/+edit-subscription

["revision-diff.txt" (revision-diff.txt)]

=== 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/mailman-cvs%40progressive-comp.com



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic