mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-14 03:16:34 +00:00
91d2adc061
This PR was squashed before being merged into the 1.x branch (closes #2152).
Discussion
----------
normalizePath: Do not mangle phar URLs.
Removing consecutive slashes breaks phar URLs. Example:
phar:///foo/bar is turned into phar:/foo/bar.
This change preserves the three slashes if path starts with phar://.
Commits
-------
7dd63fc normalizePath: Do not mangle phar URLs.