Bugzilla – Attachment #26914: patch to replace special characters by html entities for bug #64086
class ViewCVSException:
def __init__(self, msg, status=None):
self.msg = msg
import cgi
self.msg = cgi.escape(msg)
self.status = status
def __str__(self):