Update of /cvsroot/mailman/mailman/Mailman/Gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15515

Modified Files:
      Tag: Release_2_1-maint
        GUIBase.py 
Log Message:
Use of websafe() here is too severe. Only '<' is escaped.


Index: GUIBase.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Gui/GUIBase.py,v
retrieving revision 2.6.2.3
retrieving revision 2.6.2.4
diff -u -d -r2.6.2.3 -r2.6.2.4
--- GUIBase.py  17 Feb 2004 19:21:11 -0000      2.6.2.3
+++ GUIBase.py  10 Mar 2005 23:59:18 -0000      2.6.2.4
@@ -123,7 +123,8 @@
         pass
 
     def _escape(self, property, value):
-        return Utils.websafe(value)
+        value = value.replace('<', '&lt;')
+        return value
 
     def handleForm(self, mlist, category, subcat, cgidata, doc):
         for item in self.GetConfigInfo(mlist, category, subcat):

_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to