From: Tim Düsterhus Date: Sat, 8 Jun 2013 17:13:55 +0000 (+0300) Subject: Fix missing stacktrace encoding in ExceptionLogViewPage X-Git-Tag: 2.0.0_Beta_4~94^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3fe9539f2386d9b461497e733d839a37b6aab5c4;p=GitHub%2FWoltLab%2FWCF.git Fix missing stacktrace encoding in ExceptionLogViewPage --- diff --git a/wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php b/wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php index f179722bec..011a4d584e 100644 --- a/wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php @@ -151,7 +151,7 @@ Stacktrace: } $this->exceptions[$key] = $exceptionRegex->getMatches(); - $this->exceptions[$key]['stacktrace'] = explode("\n", $stackTraceFormatter->replace($this->exceptions[$key]['stacktrace'], '\\1')); + $this->exceptions[$key]['stacktrace'] = explode("\n", $stackTraceFormatter->replace(StringUtil::encodeHTML($this->exceptions[$key]['stacktrace']), '\\1')); } }