From 3fe9539f2386d9b461497e733d839a37b6aab5c4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Sat, 8 Jun 2013 20:13:55 +0300 Subject: [PATCH] Fix missing stacktrace encoding in ExceptionLogViewPage --- .../install/files/lib/acp/page/ExceptionLogViewPage.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')); } } -- 2.20.1