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

Modified Files:
      Tag: release_1_0-branch
        UserInterface.py 
Log Message:
Backport:

cgi.escape the configuration filename, in case it contains <, > or (most 
likely) &

Index: UserInterface.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/UserInterface.py,v
retrieving revision 1.46.4.1
retrieving revision 1.46.4.2
diff -C2 -d -r1.46.4.1 -r1.46.4.2
*** UserInterface.py    10 Jun 2004 05:12:43 -0000      1.46.4.1
--- UserInterface.py    2 Jan 2005 05:02:46 -0000       1.46.4.2
***************
*** 639,643 ****
          html.mainContent = self.html.configForm.clone()
          html.mainContent.configFormContent = ""
!         html.mainContent.optionsPathname = optionsPathname
          return self._buildConfigPageBody(html, parm_map)
  
--- 639,643 ----
          html.mainContent = self.html.configForm.clone()
          html.mainContent.configFormContent = ""
!         html.mainContent.optionsPathname = cgi.escape(optionsPathname)
          return self._buildConfigPageBody(html, parm_map)
  

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

Reply via email to