Skip to content

Update Local URL detection facility to cater for more scenarios, to p… #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bradietilley
Copy link
Contributor

Update Local URL detection facility to cater for more scenarios, to prevent erroring out on localhost URLs that don't have matching hosts (virtual hosts and even 127.0.0.1 vs localhost)

…revent erroring out on localhost URLs that don't have matching hosts (virtual hosts and even 127.0.0.1 vs localhost)
@bradietilley bradietilley added the enhancement New feature or request label Jun 4, 2020
@bennothommo
Copy link
Contributor

@bradietilley Looks good as a start - only issue is that localhost sometimes isn't 127.0.0.1. I've seen systems that use 127.0.1.1 as well. But we can cross that bridge if/when it comes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants