[Pkg-owncloud-commits] [owncloud] 29/394: fix OC_Filesystem::isValidPath when using \ instead of / in paths
David Prévot
taffit at alioth.debian.org
Fri Nov 8 23:11:19 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 3cd416b667ace64390607e2fd2aa4d84fac87ca1
Author: Robin Appelman <icewind at owncloud.com>
Date: Fri Nov 2 19:56:34 2012 +0100
fix OC_Filesystem::isValidPath when using \ instead of / in paths
---
lib/filesystem.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/filesystem.php b/lib/filesystem.php
index 0068257..45b039f 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -396,6 +396,7 @@ class OC_Filesystem{
* @return bool
*/
static public function isValidPath($path) {
+ $path = self::normalizePath($path);
if(!$path || $path[0]!=='/') {
$path='/'.$path;
}
--
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