diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-01-30 19:24:24 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-01-30 19:24:24 +0100 |
commit | 207aa22d12931d161f682198996086e74c91bf53 (patch) | |
tree | 26f65a42462244fdfc14e15c7788da8b7f8a524e /apps/files/ajax | |
parent | 95352fbc1568e0c49be25461a07d53b3d5ad3b45 (diff) | |
parent | 2fbf3d40900d29c04b69f0c18e4d833a312fb21c (diff) | |
download | nextcloud-server-207aa22d12931d161f682198996086e74c91bf53.tar.gz nextcloud-server-207aa22d12931d161f682198996086e74c91bf53.zip |
merge master into filesystem
Diffstat (limited to 'apps/files/ajax')
-rw-r--r-- | apps/files/ajax/move.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/ajax/move.php b/apps/files/ajax/move.php index 7c1ec974a3d..99e43ed23be 100644 --- a/apps/files/ajax/move.php +++ b/apps/files/ajax/move.php @@ -7,9 +7,9 @@ OCP\JSON::checkLoggedIn(); OCP\JSON::callCheck(); // Get data -$dir = stripslashes($_GET["dir"]); -$file = stripslashes($_GET["file"]); -$target = stripslashes(rawurldecode($_GET["target"])); +$dir = stripslashes($_POST["dir"]); +$file = stripslashes($_POST["file"]); +$target = stripslashes(rawurldecode($_POST["target"])); if(\OC\Files\Filesystem::file_exists($target . '/' . $file)) { OCP\JSON::error(array("data" => array( "message" => "Could not move $file - File with this name already exists" ))); |