Commit cb483580 authored by Andreas Jung's avatar Andreas Jung

- LP #491224: proper escaping of rendered error message

parent d770da04
......@@ -312,6 +312,7 @@ class Item(Base,
# 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment