mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-21 00:26:10 +02:00
Fix escaping in BrowserConsoleHandler, fixes #537
This commit is contained in:
@@ -174,7 +174,7 @@ class BrowserConsoleHandler extends AbstractProcessingHandler
|
||||
|
||||
private static function quote($arg)
|
||||
{
|
||||
return '"' . addcslashes($arg, "\"\n") . '"';
|
||||
return '"' . addcslashes($arg, "\"\n\\") . '"';
|
||||
}
|
||||
|
||||
private static function call()
|
||||
|
Reference in New Issue
Block a user