v1.4.3
This commit is contained in:
parent
a80a4aa4f9
commit
5bb4d373fc
1 changed files with 8665 additions and 998 deletions
2
vendor/symfony/filesystem/Path.php
vendored
2
vendor/symfony/filesystem/Path.php
vendored
|
|
@ -746,7 +746,7 @@ final class Path
|
|||
|
||||
// Collapse ".." with the previous part, if one exists
|
||||
// Don't collapse ".." if the previous part is also ".."
|
||||
if ('..' === $part && \count($canonicalParts) > 0 && '..' !== $canonicalParts[\count($canonicalParts) - 1]) {
|
||||
if ('..' === $part && $canonicalParts && '..' !== $canonicalParts[\count($canonicalParts) - 1]) {
|
||||
array_pop($canonicalParts);
|
||||
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue