diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-10-15 16:09:23 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-10-15 16:09:23 +0200 |
commit | 0a4dd3605b82ae8650ccc5396183e3c49d9d0f30 (patch) | |
tree | 885750e8ac0a5a5b5a4e8208befde1d1e626262b /lib/private/Log.php | |
parent | 4011262fabd13eb5918e8b6a8091392bce75a287 (diff) | |
download | nextcloud-server-0a4dd3605b82ae8650ccc5396183e3c49d9d0f30.tar.gz nextcloud-server-0a4dd3605b82ae8650ccc5396183e3c49d9d0f30.zip |
Do not escape slashes for logged exceptions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/Log.php')
-rw-r--r-- | lib/private/Log.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Log.php b/lib/private/Log.php index 04148d549d6..da29c351185 100644 --- a/lib/private/Log.php +++ b/lib/private/Log.php @@ -324,7 +324,7 @@ class Log implements ILogger { try { if ($level >= $minLevel) { if (!$this->logger instanceof IFileBased) { - $data = json_encode($data, JSON_PARTIAL_OUTPUT_ON_ERROR); + $data = json_encode($data, JSON_PARTIAL_OUTPUT_ON_ERROR | JSON_UNESCAPED_SLASHES); } $this->writeLog($app, $data, $level); } |