[HttpKernel] fixed 'scheme://' not detected as absolute path

This commit is contained in:
Oscar Cubo Medina 2011-12-08 13:44:49 +01:00
parent b50ac5be36
commit e6f2687107

View File

@ -256,6 +256,7 @@ class Filesystem
&& $file[1] == ':'
&& ($file[2] == '\\' || $file[2] == '/')
)
|| null !== parse_url($file, PHP_URL_SCHEME)
) {
return true;
}