-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
join: don't allow .. and . in working path during resolution
The previous implementation would allow lexical components like ".." to be present in the intermediate path and wait for them to be cleaned at the very end. While this is technically okay to do (since we expand symlinks and the components are definitely purely lexical when we add them to the working path), it makes more sense to update the working path to equal the generated path (which is cleaned). This also reduces the possibility of a subtle bug here causing issues. Signed-off-by: Aleksa Sarai <[email protected]>
- Loading branch information
Showing
1 changed file
with
34 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters