[Checkins] SVN: Zope/branches/2.12/src/OFS/SimpleItem.py - LP	#491224: proper escaping of rendered error message
    Andreas Jung 
    andreas at andreas-jung.com
       
    Mon Jan 11 10:27:34 EST 2010
    
    
  
Log message for revision 108013:
  - LP #491224: proper escaping of rendered error message
  
Changed:
  U   Zope/branches/2.12/src/OFS/SimpleItem.py
-=-
Modified: Zope/branches/2.12/src/OFS/SimpleItem.py
===================================================================
--- Zope/branches/2.12/src/OFS/SimpleItem.py	2010-01-11 15:26:56 UTC (rev 108012)
+++ Zope/branches/2.12/src/OFS/SimpleItem.py	2010-01-11 15:27:33 UTC (rev 108013)
@@ -312,6 +312,7 @@
                 # return the rendered exception and let the
                 # ZPublisher Exception Hook deal with it.
                 return error_type, v, tb
+            v = xml_escape(v)
             raise error_type, v, tb
         finally:
             if hasattr(self, '_v_eek'): del self._v_eek
    
    
More information about the checkins
mailing list