-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Fix X-Forwarded-For not supported properly #17785
Conversation
Range must be 172.16/12 instead 172.16/16 (https://tools.ietf.org/html/rfc1918#section-3)
Unfortunately there is no unit tests for this method, can you add them? |
No, sorry, 0 experience doing test. I know I should know. |
So, we need a better scenario to test 😅 |
I only modify the behavior for 172 range. Before:
After:
|
On more review and merge without QA. |
Thanks @davidglezz |
Is there a way I can convince people to cherry pick this in an earlier release? |
You should contact an agency or a freelance to do it for you 😉 |
I'm a freelancer, and I'm comfortable with git, but I'm guessing its generally not accepted to make a pull request against a release branch. |
No it will not be accepted ^^ We are only working on the develop branch. You will have to wait for the 1.7.8.0 if you need this fix. |
Some tests
This change is