[Pkg-owncloud-commits] [owncloud] 280/394: allow moving into dirs with + chars
David Prévot
taffit at alioth.debian.org
Fri Nov 8 23:12:26 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.
commit d814697fae2c9907f4aa9b59f7ee48c403e48ce4
Author: Jörn Friedrich Dreyer <jfd at butonic.de>
Date: Wed Jan 9 15:54:38 2013 +0100
allow moving into dirs with + chars
---
apps/files/ajax/move.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/files/ajax/move.php b/apps/files/ajax/move.php
index ddcda55..a6662c2 100644
--- a/apps/files/ajax/move.php
+++ b/apps/files/ajax/move.php
@@ -9,7 +9,7 @@ OCP\JSON::callCheck();
// Get data
$dir = stripslashes($_GET["dir"]);
$file = stripslashes($_GET["file"]);
-$target = stripslashes(urldecode($_GET["target"]));
+$target = stripslashes(rawurldecode($_GET["target"]));
if(OC_Files::move($dir, $file, $target, $file)) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list