[Mailman-Developers] small fix for admindb

Gergely Madarasz gorgo@caesar.elte.hu
Wed, 5 May 1999 23:33:27 +0200 (METDST)


Hello,

There were already some comments about the problems with <> characters on
the admindb pages... here is a small fix, I hope it doesnt break anything
else :) but I don't think it could :)

--- Mailman/Cgi/admindb.py~	Sat Apr  3 18:55:45 1999
+++ Mailman/Cgi/admindb.py	Wed May  5 23:04:46 1999
@@ -247,7 +247,7 @@
 	FontSize("+1", Bold('Contents:'))
         ])
     form.AddItem(t)
-    form.AddItem(Preformatted(val[2][1]))
+    form.AddItem(Preformatted(Utils.QuoteHyperChars(val[2][1])))
     form.AddItem('<p>')
 
 


-- 
Madarasz Gergely           gorgo@caesar.elte.hu         gorgo@linux.rulez.org
      It's practically impossible to look at a penguin and feel angry.
          Egy pingvinre gyakorlatilag lehetetlen haragosan nezni.
                    HuLUG: http://mlf.linux.rulez.org/