Merge pull request #142 from denis-b/patch-2
fix moving (in) dirs containing "+"
This commit is contained in:
commit
629d33967c
|
@ -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)){
|
||||||
|
|
Loading…
Reference in New Issue