mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-21 08:36:33 +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)
|
private static function quote($arg)
|
||||||
{
|
{
|
||||||
return '"' . addcslashes($arg, "\"\n") . '"';
|
return '"' . addcslashes($arg, "\"\n\\") . '"';
|
||||||
}
|
}
|
||||||
|
|
||||||
private static function call()
|
private static function call()
|
||||||
|
Reference in New Issue
Block a user