Update apps/files/ajax/move.php
fix moving dirs containing "+"
This commit is contained in:
parent
ac784baef6
commit
2aa5a185d4
|
@ -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