summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax/move.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-25 18:26:08 +0200
committerRobin Appelman <icewind@owncloud.com>2012-10-25 18:26:08 +0200
commit7bc49d2a57ab337f7a74d55e748e69284e3be430 (patch)
treefc54618043ae5e0e4f36e0a23d171dfa18a0947c /apps/files/ajax/move.php
parent5a3d6805a2613c4f55daa971e112cc77f17b060f (diff)
parentec613b589bed2069346696902f59eadc2a3a91d5 (diff)
downloadnextcloud-server-7bc49d2a57ab337f7a74d55e748e69284e3be430.tar.gz
nextcloud-server-7bc49d2a57ab337f7a74d55e748e69284e3be430.zip
merge master into filesystem
Diffstat (limited to 'apps/files/ajax/move.php')
-rw-r--r--apps/files/ajax/move.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/ajax/move.php b/apps/files/ajax/move.php
index f8727831228..e8b0aea063f 100644
--- a/apps/files/ajax/move.php
+++ b/apps/files/ajax/move.php
@@ -9,7 +9,7 @@ OCP\JSON::callCheck();
// Get data
$dir = stripslashes($_GET["dir"]);
$file = stripslashes($_GET["file"]);
-$target = stripslashes($_GET["target"]);
+$target = stripslashes(urldecode($_GET["target"]));
if (OC_User::isLoggedIn() && ($dir != '' || $file != 'Shared')) {
$targetFile = \OC\Files\Filesystem::normalizePath($dir . '/' . $file);