aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Log.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-10-15 16:09:23 +0200
committerJulius Härtl <jus@bitgrid.net>2019-10-15 16:09:23 +0200
commit0a4dd3605b82ae8650ccc5396183e3c49d9d0f30 (patch)
tree885750e8ac0a5a5b5a4e8208befde1d1e626262b /lib/private/Log.php
parent4011262fabd13eb5918e8b6a8091392bce75a287 (diff)
downloadnextcloud-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.php2
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);
}