]> source.dussan.org Git - nextcloud-server.git/commitdiff
urldecode target directory
authorBjörn Schießle <schiessle@owncloud.com>
Wed, 24 Oct 2012 13:37:32 +0000 (15:37 +0200)
committerBjörn Schießle <schiessle@owncloud.com>
Wed, 24 Oct 2012 13:37:51 +0000 (15:37 +0200)
apps/files/ajax/move.php

index 8b3149ef14e35106294be23c8a8c481266b0d067..ddcda553e3d95e031072f9d090cc726e16a0d117 100644 (file)
@@ -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)) {