Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29550/spambayes

Modified Files:
        ProxyUI.py 
Log Message:
Fix error reported by Hatuka*nezumi:

Subject lines are not cgi.escape()d in the web interface, which might cause 
errors.

Index: ProxyUI.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/ProxyUI.py,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -d -r1.52 -r1.53
*** ProxyUI.py  9 Nov 2004 02:37:41 -0000       1.52
--- ProxyUI.py  28 Nov 2004 23:38:17 -0000      1.53
***************
*** 340,344 ****
                  else:
                      h = self.html.reviewRow.headerValue.clone()
!                 h.text = text
                  row.optionalHeadersValues += h
  
--- 340,344 ----
                  else:
                      h = self.html.reviewRow.headerValue.clone()
!                 h.text = cgi.escape(text)
                  row.optionalHeadersValues += h
  

_______________________________________________
Spambayes-checkins mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/spambayes-checkins

Reply via email to