From cab12fd73cd411caa20729a909a235ea7b70c269 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Fri, 21 Nov 2014 16:38:11 +0000 Subject: [PATCH] More escaping needed to output to JS fine --- lib/file-control-xhr.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/file-control-xhr.php b/lib/file-control-xhr.php index 406596f..f38be88 100644 --- a/lib/file-control-xhr.php +++ b/lib/file-control-xhr.php @@ -250,7 +250,7 @@ if (!$error && $_GET['action']=="save") { } else { $finalAction = "nothing"; - $doNext .= "top.ICEcoder.message('".$t['Sorry, cannot save']."\\n".$file."');"; + $doNext .= "top.ICEcoder.message('".$t['Sorry, cannot save']."\\\\n".$file."');"; } $doNext .= 'top.ICEcoder.serverMessage();top.ICEcoder.serverQueue("del",0);'; }