-
Notifications
You must be signed in to change notification settings - Fork 179
Fix error when no clientIp exists #565
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 error when no clientIp exists #565
Conversation
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.
Can you please add a CHANGELOG entry referring this PR and a new test case to the RequestListenerTest::handleKernelRequestEventForSymfonyVersionAtLeast43DataProvider()
method to prevent a possible regression in the future?
4b8cbc1
to
348cb9f
Compare
348cb9f
to
66ac3cc
Compare
Co-authored-by: Stefano Arlandini <[email protected]>
PR updated. |
The PHP |
Thx I updated i from main to master request. |
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 the patience to contribute 💪
Thx for merging. Do you know if there is any release planned? |
There is no plan, we release new versions as needed. I think that a good ETA for the next patch could be the next week as I have one more thing that I would like to fix before |
The
getClientIP()
can return null and so it will error when usingcreateFromUserIpAddress
instead we creating an instance manually and use the nullablesetIpAddress
method.