-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update URL parsers to include
://
on empty netloc
Python's `urlunparse` has this annoying behavior where it doesn't include double slashes if the netloc param is empty. This is annoying with URLs like `sqlite:///foo/bar/baz`. The parser would return `sqlite:/foo/bar/baz` in this scenario. I've updated the safe/unsafe methods in `RecapSettings` to account for this.
- Loading branch information
1 parent
6ae133f
commit 0ea697d
Showing
3 changed files
with
26 additions
and
8 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