-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't assume terminal components are reversible
ComponentWalker.OnTerminal() isn't capable of returning whether a component is reversible. Right now Builder assumes it is, whereas that isn't necessarily safe. When joining "/hello" and "..", we may not necessarily be able to simplify the result to "/". It should remain "/hello/..", as "/hello" may not be a directory.
- Loading branch information
1 parent
07dec22
commit fd176d6
Showing
2 changed files
with
25 additions
and
0 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
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