From b6ba0f547e07c384081fda58654eafd8defa0d77 Mon Sep 17 00:00:00 2001 From: Tom Needham Date: Sat, 10 Mar 2012 14:06:30 +0000 Subject: [PATCH] fix character encoding bug oc-278 --- apps/files_texteditor/ajax/savefile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_texteditor/ajax/savefile.php b/apps/files_texteditor/ajax/savefile.php index 3d0771ea983..8175c9ba2b1 100644 --- a/apps/files_texteditor/ajax/savefile.php +++ b/apps/files_texteditor/ajax/savefile.php @@ -28,7 +28,7 @@ require_once('../../../lib/base.php'); OC_JSON::checkLoggedIn(); // Get paramteres -$filecontents = htmlspecialchars_decode($_POST['filecontents']); +$filecontents = $_POST['filecontents']; $path = isset($_POST['path']) ? $_POST['path'] : ''; $mtime = isset($_POST['mtime']) ? $_POST['mtime'] : '';