fix OC_Filesystem::isValidPath when using \ instead of / in paths

remotes/origin/stable45
Robin Appelman 13 years ago
parent 3139636906
commit 3cd416b667
  1. 1
      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;
}

Loading…
Cancel
Save