Skip to content
Snippets Groups Projects
Commit a1c37d4b authored by Robin Appelman's avatar Robin Appelman
Browse files

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

parent d9e97610
No related branches found
No related tags found
No related merge requests found
......@@ -396,6 +396,7 @@ class OC_Filesystem{
* @return bool
*/
static public function isValidPath($path) {
$path = self::normalizePath($path);
if(!$path || $path[0]!=='/') {
$path='/'.$path;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment