Author: tmckay
Date: 2011-07-22 19:10:33 +0000 (Fri, 22 Jul 2011)
New Revision: 4886
Modified:
trunk/cumin/python/cumin/task.py
Log:
Escape XML special characters in status values on banner notices for tasks.
BZ725038
Modified: trunk/cumin/python/cumin/task.py
===================================================================
--- trunk/cumin/python/cumin/task.py 2011-07-22 14:55:26 UTC (rev 4885)
+++ trunk/cumin/python/cumin/task.py 2011-07-22 19:10:33 UTC (rev 4886)
@@ -258,7 +258,7 @@
if not description:
description = ""
- status = item.get_status(session)
+ status = xml_escape(str(item.get_status(session)))
return "%s: %s" % (description, status)
Show replies by date