mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-24 18:16:10 +02:00
Fix json encoding, fixes #110
This commit is contained in:
@@ -85,6 +85,6 @@ class LineFormatter extends NormalizerFormatter
|
||||
return json_encode($this->normalize($data), JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
|
||||
}
|
||||
|
||||
return stripslashes(json_encode($this->normalize($data)));
|
||||
return str_replace('\\/', '/', json_encode($this->normalize($data)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user