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

Omit X-Forwarded-For when value only 127.0.0.1 #2

Conversation

dansailer
Copy link
Contributor

Some business proxies block requests based on the X-Forwarded-For headers.
This PR omits the header if the value is just 127.0.0.1 from local Cygwin, WSL1 or PowerShell

@savely-krasovsky savely-krasovsky merged commit 2ded808 into savely-krasovsky:master Jul 8, 2022
@savely-krasovsky
Copy link
Owner

@dansailer merged!

@savely-krasovsky
Copy link
Owner

savely-krasovsky commented Jul 8, 2022

@dansailer also what about IPv6 ::1?

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