Issue #2371141 by pfrenssen: Fixed XSS vulnerability when displaying exception backtrace.