-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: check for URLs including trailing slash (#13)
Although this is not really relevant in our case, LGTM rightfully indicates that these 'startswith' can still have URLs like 'https://api.github.com.fake.domain', and validate. We of course not as much use the validation to check if it really comes from github.com, merely to ensure that the next statement is valid. Nevertheless, it is a sane change to make.
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 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