Skip to content

bugfix for redis json check #3701

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

theonefx
Copy link
Contributor

@theonefx theonefx commented Mar 13, 2025

In the Multi method of the state Redis component, when checking whether a request is in JSON format, if the item in the request has contentType=application/json explicitly set, the check will pass. This results in the JSON processing logic being triggered even if clientHasJSON (a flag indicating whether the client supports JSON) is not enabled.

@theonefx theonefx requested review from a team as code owners March 13, 2025 09:03
@theonefx
Copy link
Contributor Author

@yaron2

Copy link
Contributor

@JoshVanL JoshVanL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @theonefx , please can we add a certification test to cover this fix?

Signed-off-by: theonefx <[email protected]>
Signed-off-by: theonefx <[email protected]>
@theonefx
Copy link
Contributor Author

Thanks @theonefx , please can we add a certification test to cover this fix?

done

@theonefx theonefx requested a review from JoshVanL March 16, 2025 12:17
@theonefx
Copy link
Contributor Author

/test

Copy link
Contributor

@JoshVanL JoshVanL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@theonefx looks like the cert test for redis is failing

Copy link

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions bot added the stale label Apr 26, 2025
@github-actions github-actions bot removed the stale label Apr 29, 2025
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.

3 participants