summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2012-10-24 15:37:32 +0200
committerBjörn Schießle <schiessle@owncloud.com>2012-10-24 15:37:51 +0200
commit07e08d59289c39417fdba2e5d1a2e5540eb369d0 (patch)
tree6ca6590d25d36d437d0fa2c47d07be043e9ede91
parent41898a473e8ece37c92e709f685c90d7952d1694 (diff)
downloadnextcloud-server-07e08d59289c39417fdba2e5d1a2e5540eb369d0.tar.gz
nextcloud-server-07e08d59289c39417fdba2e5d1a2e5540eb369d0.zip
urldecode target directory
-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 8b3149ef14e..ddcda553e3d 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_Files::move($dir, $file, $target, $file)) {