[Zope-Checkins] CVS: Zope/lib/python/Products/OFSP - Version.py:1.54

Tres Seaver tseaver at zope.com
Thu Jan 15 17:54:40 EST 2004


Update of /cvs-repository/Zope/lib/python/Products/OFSP
In directory cvs.zope.org:/tmp/cvs-serv21847/OFSP

Modified Files:
	Version.py 
Log Message:
 - Merge CGI escapes from 2.6 / 2.7 audit.


=== Zope/lib/python/Products/OFSP/Version.py 1.53 => 1.54 ===
--- Zope/lib/python/Products/OFSP/Version.py:1.53	Wed Aug 14 18:16:04 2002
+++ Zope/lib/python/Products/OFSP/Version.py	Thu Jan 15 17:54:09 2004
@@ -23,6 +23,7 @@
 from Globals import HTML
 from App.Dialogs import MessageDialog
 from OFS.ObjectManager import BeforeDeleteException
+from cgi import escape
 
 class VersionException(BeforeDeleteException): pass
 
@@ -108,7 +109,7 @@
                 action=REQUEST['URL1']+'/manage_main',
                 message=('If cookies are enabled by your browser, then '
                          'you should have joined version %s.'
-                         % self.id)
+                         % escape(self.id))
                 )
         return RESPONSE.redirect(REQUEST['URL1']+'/manage_main')
 




More information about the Zope-Checkins mailing list