Use JSON to encode the stack trace inside the log files
authorTim Düsterhus <duesterhus@woltlab.com>
Sun, 21 Aug 2016 14:01:09 +0000 (16:01 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Sun, 21 Aug 2016 14:03:37 +0000 (16:03 +0200)
commit72f128c327e8986a1b9671a8359fdcd8107cb40c
tree26ecd3ddc22f85bbd51e06752cd669bbf7424987
parent01ce42f0d2ccc90b09b41f15589de63cde274ddf
Use JSON to encode the stack trace inside the log files

As newlines are invalid inside JSON we can omit the base64_encode'ing
and improve security as well (see bf68991d1d97f635a9c2ae52fec685212cda75d5).
wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php
wcfsetup/install/files/lib/core.functions.php