-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Fix PublicKeyCredentialType.PUBLIC_KEY comparison with Spring Session #17223
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
base: main
Are you sure you want to change the base?
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.
Thanks for the pull request! Can you please:
- add a unit test for this change?
- rebase this off the oldest version of the code that contains this bug so that it is fixed for older versions? We will merge the bug forward
Thanks for the feedback. |
0e8afc9
to
de31b62
Compare
Replace comparison with != operator by an .equals() comparison based on text value. The 2 objects have the same value in most setups, but not when used in conjunction with Spring Session for example, as the object in session is built for each request Signed-off-by: ltanguy <[email protected]> Signed-off-by: Loeiz TANGUY <[email protected]>
…rializable Signed-off-by: Loeiz TANGUY <[email protected]>
Signed-off-by: Loeiz TANGUY <[email protected]>
Signed-off-by: Loeiz TANGUY <[email protected]>
Signed-off-by: Loeiz TANGUY <[email protected]>
Replace comparison based on the != operator by an .equals() comparison based on the text value. The 2 objects have the same value in most setups, but not when used in conjunction with Spring Session for example, as the object in session is built for each request.
Fixes gh-17164