-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sourceaddrs: Use correct canonical form for current directory
We previously missed an exception for making the canonical form of a local source referring to the current directory be "./", to match the parent directory form "../". This logic was incorrectly requiring that it be written as "./.", which is silly. Now "./" and "../" are both accepted as canonical forms, and naked "." and ".." are still rejected as non-canonical as before, which we do just to avoid injecting further ambiguity into this already-rather-ambiguous source address syntax so that we'll have more options for potentially expanding this microsyntax in future.
- Loading branch information
1 parent
7f973de
commit 10490a2
Showing
3 changed files
with
25 additions
and
3 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