Fix missing stacktrace encoding in ExceptionLogViewPage
authorTim Düsterhus <timwolla@googlemail.com>
Sat, 8 Jun 2013 17:13:55 +0000 (20:13 +0300)
committerTim Düsterhus <timwolla@googlemail.com>
Sat, 8 Jun 2013 17:13:55 +0000 (20:13 +0300)
wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php

index f179722bec013d9ec0e24710a698a1ab4522d746..011a4d584e1383ce6024677c1f6e9481d5245a39 100644 (file)
@@ -151,7 +151,7 @@ Stacktrace:
                        }
                        
                        $this->exceptions[$key] = $exceptionRegex->getMatches();
-                       $this->exceptions[$key]['stacktrace'] = explode("\n", $stackTraceFormatter->replace($this->exceptions[$key]['stacktrace'], '<strong>\\1</strong>'));
+                       $this->exceptions[$key]['stacktrace'] = explode("\n", $stackTraceFormatter->replace(StringUtil::encodeHTML($this->exceptions[$key]['stacktrace']), '<strong>\\1</strong>'));
                }
        }