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

ProxyLocalhost=false does not always work #116

Closed
mmatczuk opened this issue Nov 7, 2022 · 0 comments · Fixed by #121
Closed

ProxyLocalhost=false does not always work #116

mmatczuk opened this issue Nov 7, 2022 · 0 comments · Fixed by #121
Labels
bug Something isn't working security

Comments

@mmatczuk
Copy link
Contributor

mmatczuk commented Nov 7, 2022

During the e2e testing it turns out that what runs well in a UT does not really work...

It turns out there is a subtle bug IsLocalHost function works for

  • 127.0.0.1:port
  • 127.0.0.1
  • localhost
    but not for localhost:port or 127.1.0.1.

It should also support all the names /etc/hosts...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working security
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant