This commit is contained in:
Luca Errani 2022-12-03 12:00:41 -06:00 committed by GitHub
commit 5ab0c0b0c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,8 +60,12 @@ path manifest::canonicalize(const std::vector<xlnt::relationship> &rels) const
if (component == ".") continue; if (component == ".") continue;
if (component == "..") if (component == "..")
{
if (absolute_parts.size() > 0)
{ {
absolute_parts.pop_back(); absolute_parts.pop_back();
}
continue; continue;
} }