summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2012-03-10 14:06:30 +0000
committerTom Needham <needham.thomas@gmail.com>2012-03-10 14:06:30 +0000
commit1aaf008020b2dd49d35ed3285dfa3f67c3fb6e55 (patch)
tree049181ffaabc0051da6513b8e71158170888aba6 /apps
parent3f507898d0a6c7e68586c85c316940ff9f0423ed (diff)
downloadnextcloud-server-1aaf008020b2dd49d35ed3285dfa3f67c3fb6e55.tar.gz
nextcloud-server-1aaf008020b2dd49d35ed3285dfa3f67c3fb6e55.zip
fix character encoding bug oc-278
Diffstat (limited to 'apps')
-rw-r--r--apps/files_texteditor/ajax/savefile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_texteditor/ajax/savefile.php b/apps/files_texteditor/ajax/savefile.php
index 589428d1862..57a948478f5 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'] : '';