Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If an invalid URL is provided to urlparse (e.g. `https://example.com]`) it might raise a ValueError. This breaks the url_validator. This PR aims to fix that and simply add the error msg if a ValueError occurs.
- Loading branch information
1 parent
cf50b15
commit 0bc91d8
Showing
2 changed files
with
36 additions
and
5 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