windows remote path treats as remote now
parent
de9f333ec6
commit
2717e115c8
|
@ -477,7 +477,7 @@ class Filesystem
|
|||
*/
|
||||
public static function isLocalPath($path)
|
||||
{
|
||||
return (bool) preg_match('{^(file://|/|/?[a-z]:[\\\\/]|\.\.[\\\\/]|[a-z0-9_.-]+[\\\\/])}i', $path);
|
||||
return (bool) preg_match('{^(file://(?!//)|/(?!/)|/?[a-z]:[\\\\/]|\.\.[\\\\/]|[a-z0-9_.-]+[\\\\/])}i', $path);
|
||||
}
|
||||
|
||||
public static function getPlatformPath($path)
|
||||
|
|
Loading…
Reference in New Issue