urldecode target directory

remotes/origin/stable5
Björn Schießle 12 years ago
parent 41898a473e
commit 07e08d5928
  1. 2
      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)) {

Loading…
Cancel
Save