Author: tmckay
Date: 2012-09-26 11:45:28 +0000 (Wed, 26 Sep 2012)
New Revision: 5472
Modified:
trunk/wooly/python/wooly/__init__.py
Log:
Escape text in error trace display
BZ840133
Modified: trunk/wooly/python/wooly/__init__.py
===================================================================
--- trunk/wooly/python/wooly/__init__.py 2012-09-26 11:43:19 UTC (rev 5471)
+++ trunk/wooly/python/wooly/__init__.py 2012-09-26 11:45:28 UTC (rev 5472)
@@ -600,7 +600,7 @@
self.print_url_vars(env["QUERY_STRING"], writer)
self.print_environment(env, writer)
- return "<pre><![CDATA[%s]]></pre>" %
writer.to_string()
+ return "<pre>%s</pre>" % xml_escape(writer.to_string())
def print_messages(self, writer):
writer.write("Messages:\n\n")
Show replies by date