Skip to content

Commit

Permalink
[fix an unrelated missing path-normalize call]
Browse files Browse the repository at this point in the history
  • Loading branch information
kinke committed Jun 13, 2024
1 parent 4b6638f commit f20534c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/dub/test/base.d
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,7 @@ public class FSEntry
protected inout(FSEntry) lookup(NativePath path) inout return scope
{
auto relp = this.relativePath(path);
relp.normalize(); // try to get rid of `..`
if (relp.empty)
return this;
auto segments = relp.bySegment;
Expand Down

0 comments on commit f20534c

Please sign in to comment.