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

Merged
merged 1 commit into from
Dec 14, 2024
Merged

Conversation

mmatczuk
Copy link
Contributor

@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
@ErikPelli
Copy link
Collaborator

LGTM

@ErikPelli ErikPelli merged commit 033b654 into elazarl:master Dec 14, 2024
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
2 participants