Skip to content
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

Implementation of Issue #133 #134

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

Implementation of Issue #133 #134

wants to merge 2 commits into from

Conversation

manulaiko
Copy link

Implementation of issue #133
Although now any URL that matches http://([a-zA-Z0-9]*)/ is now treated as localhost, you can still configure hosts file to point any name with sub-domains to 127.0.0.1 but they will not be recognized as localhost and they will result in a google search.

This could be fixed by assuming that if the URL ends with /, it's a localhost, or by actually checking that the URL translates to 127.0.0.1

*http://localhost/* does not redirects to *http://127.0.0.1/* and it can be any name that doesn't contains a domain/subdomain.
*http://localhost/* does not redirects to *http://127.0.0.1/* and it can be any name that doesn't contains a domain/subdomain.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants