diff --git a/source/packaging/manifest.cpp b/source/packaging/manifest.cpp index 6bab2afe..48af8d0a 100644 --- a/source/packaging/manifest.cpp +++ b/source/packaging/manifest.cpp @@ -61,7 +61,11 @@ path manifest::canonicalize(const std::vector &rels) const if (component == "..") { - absolute_parts.pop_back(); + if (absolute_parts.size() > 0) + { + absolute_parts.pop_back(); + } + continue; }