v2.1.8
This commit is contained in:
parent
658eb9b4da
commit
476389b914
93 changed files with 1864 additions and 305 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