branch | stable |
changeset 4723 | 77bec4c4775a |
parent 4721 | 8f63691ccb7f |
child 4725 | 5a81f6bbcb9e |
--- a/web/views/debug.py Fri Feb 26 13:30:24 2010 +0100 +++ b/web/views/debug.py Fri Feb 26 13:30:46 2010 +0100 @@ -66,7 +66,7 @@ stats = repo.stats() for element in sorted(stats): w(u'<tr><th align="left">%s</th><td>%s %s</td></tr>' - % (element, stats[element], + % (element, xml_escame(unicode(stats[element])), element.endswith('percent') and '%' or '' )) w(u'</table>') if req.cnx._cnxtype == 'inmemory':