urldecode target directory

This commit is contained in:
Björn Schießle 2012-10-24 15:37:32 +02:00
parent 41898a473e
commit 07e08d5928
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {