From 206b4bd636ee79ffd7f70fbc6ed27f0cf96bd61f Mon Sep 17 00:00:00 2001 From: WanWizard Date: Wed, 14 Sep 2016 13:01:22 +0100 Subject: [PATCH] exclude CRLF from escaping to be able to return multiline output --- classes/console.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/console.php b/classes/console.php index 169254d4..eff987db 100644 --- a/classes/console.php +++ b/classes/console.php @@ -136,7 +136,7 @@ private function main() } elseif (is_string($ret)) { - echo addcslashes($ret, "\0..\37\177..\377"); + echo addcslashes($ret, "\0..\11\13\14\16..\37\177..\377"); } elseif ( ! is_null($ret)) {