Skip to content
Snippets Groups Projects
Commit 07e08d59 authored by Björn Schießle's avatar Björn Schießle
Browse files

urldecode target directory

parent 41898a47
Branches
No related tags found
No related merge requests found
......@@ -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)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment