mirror of https://github.com/tfussell/xlnt
Merge 027c2f0a31
into 297b331435
commit
5ab0c0b0c9
|
@ -61,7 +61,11 @@ path manifest::canonicalize(const std::vector<xlnt::relationship> &rels) const
|
|||
|
||||
if (component == "..")
|
||||
{
|
||||
absolute_parts.pop_back();
|
||||
if (absolute_parts.size() > 0)
|
||||
{
|
||||
absolute_parts.pop_back();
|
||||
}
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue