-
-
Notifications
You must be signed in to change notification settings - Fork 651
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
url: Add and test predicates isUrlAbsolute, isUrlPathAbsolute, etc.
These will let us do certain URL parsing and reassembly exactly, relying only on assumptions we can make explicit. In particular, we'll use it to interpret avatar URLs that might be either absolute, or path-absolute and meant to be relative to the realm URL.
- Loading branch information
Showing
2 changed files
with
112 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