Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[HttpFoundation] Deprecate passing null as $requestIp in IpUtils#43411
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
W0rma commentedOct 12, 2021
| Q | A |
|---|---|
| Branch? | 5.4 |
| Bug fix? | no |
| New feature? | no |
| Deprecations? | yes |
| Tickets | #43350 (comment) |
| License | MIT |
| Doc PR |
carsonbot commentedOct 13, 2021
Hey! I think@a-menshchikov has recently worked with this code. Maybe they can help review this? Cheers! Carsonbot |
derrabus left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thank you for working on this topic!
Let's avoid thecheckIp() if the IP to check isnull. We already know the result.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
2bac0cf todca654dComparedca654d to55e3a5bComparefabpot commentedOct 16, 2021
Thank you@W0rma. |
…equestIp in IpUtils (W0rma)This PR was merged into the 6.0 branch.Discussion----------[HttpFoundation] Remove possibility to pass null as $requestIp in IpUtils| Q | A| ------------- | ---| Branch? | 6.0| Bug fix? | no| New feature? | no| Deprecations? | no| Tickets |#43350 (comment)| License | MIT| Doc PR |Removes the code which was deprecated in#43411Commits-------e95e97d Remove possibility to pass null as $requestIp in IpUtils