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

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
https://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to