Merge pull request #142 from denis-b/patch-2

fix moving (in) dirs containing "+"
This commit is contained in:
blizzz 2012-10-29 09:25:09 -07:00
commit 629d33967c
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ OCP\JSON::callCheck();
// Get data // Get data
$dir = stripslashes($_GET["dir"]); $dir = stripslashes($_GET["dir"]);
$file = stripslashes($_GET["file"]); $file = stripslashes($_GET["file"]);
$target = stripslashes(urldecode($_GET["target"])); $target = stripslashes(rawurldecode($_GET["target"]));
if(OC_Filesystem::file_exists($target . '/' . $file)){ if(OC_Filesystem::file_exists($target . '/' . $file)){