-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add compile-time validation of literal paths containing ".." (#329)
Addresses #327 This PR adds additional validation of literal path segments containing `..`. It throws compiletime error, suggesting canonical form of a path, when literal path is not canonical. Eg. "../foo/../bar" suggests "../bar" "foo/.." suggests removing literal --------- Co-authored-by: Li Haoyi <[email protected]>
- Loading branch information
1 parent
1ddbb25
commit 8d4bf10
Showing
3 changed files
with
53 additions
and
7 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
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