-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use url parsing instead of string matching (#1068)
* use url parsing instead of string matching * make sure relevant section of url is at the end of the hostname * force an exact hostname check * use both correct hostnames * Do not attempt to sort the URL if it is invalid * Use strict equality, rename parameter, log invalid URL * remove comment as it's made redundant by log line
- Loading branch information
1 parent
d54e196
commit 524e0d0
Showing
2 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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