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

IsLocalHost: support host:port #488

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mmatczuk
Copy link

@mmatczuk mmatczuk commented Nov 7, 2022

Without this patch IsLocalHost does not work for URLs with port specified i.e. it works for http://localhost but does not work for http://localhost:80 or http://localhost:10000.

Fixes #487

Without this patch IsLocalHost does not work for URLs with port specified i.e. it works for `http://localhost` but does not work for `http://localhost:80` or `http://localhost:10000`.

Fixes elazarl#487
mmatczuk added a commit to saucelabs/forwarder that referenced this pull request Nov 8, 2022
My fork is hosting patches I sent upstream to fix issues.

It contains patches from
* elazarl/goproxy#488
* elazarl/goproxy#489
mmatczuk added a commit to saucelabs/forwarder that referenced this pull request Nov 9, 2022
My fork is hosting patches I sent upstream to fix issues.

It contains patches from
* elazarl/goproxy#488
* elazarl/goproxy#492
mmatczuk added a commit to saucelabs/forwarder that referenced this pull request Nov 9, 2022
My fork is hosting patches I sent upstream to fix issues.

It contains patches from
* elazarl/goproxy#488
* elazarl/goproxy#492
mmatczuk added a commit to saucelabs/forwarder that referenced this pull request Nov 10, 2022
My fork is hosting patches I sent upstream to fix issues.

It contains patches from
* elazarl/goproxy#488
* elazarl/goproxy#492
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.

IsLocalHost only works with default ports
1 participant