projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Security update to Drupal 8.4.6
[yaffs-website]
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Loader
/
Filesystem.php
diff --git
a/vendor/twig/twig/lib/Twig/Loader/Filesystem.php
b/vendor/twig/twig/lib/Twig/Loader/Filesystem.php
index 1275044f8bc1d24c11094e752c165e778a76060d..9149bc3ea46ff2651527f890537e972b70444c18 100644
(file)
--- a/
vendor/twig/twig/lib/Twig/Loader/Filesystem.php
+++ b/
vendor/twig/twig/lib/Twig/Loader/Filesystem.php
@@
-279,7
+279,7
@@
class Twig_Loader_Filesystem implements Twig_LoaderInterface, Twig_ExistsLoaderI
{
return strspn($file, '/\\', 0, 1)
|| (strlen($file) > 3 && ctype_alpha($file[0])
- &&
substr($file, 1, 1) === ':'
+ &&
':' === substr($file, 1, 1)
&& strspn($file, '/\\', 2, 1)
)
|| null !== parse_url($file, PHP_URL_SCHEME)