[HttpKernel] fixed 'scheme://' not detected as absolute path
This commit is contained in:
parent
b50ac5be36
commit
e6f2687107
@ -256,6 +256,7 @@ class Filesystem
|
||||
&& $file[1] == ':'
|
||||
&& ($file[2] == '\\' || $file[2] == '/')
|
||||
)
|
||||
|| null !== parse_url($file, PHP_URL_SCHEME)
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user