summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ddcda553e3d..a6662c28b3c 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(urldecode($_GET["target"]));
+$target = stripslashes(rawurldecode($_GET["target"]));
if(OC_Files::move($dir, $file, $target, $file)) {