Skip to content
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

[SER-1568] Exporting incoming data logs results in "Incorrect parameter \"data\" error #5769

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

John-Weak
Copy link
Contributor

Problem

Query data contains nested JSON strings causing double encoding issues at the API level

Solution

Not directly calling JSON.stringify, we now:
First parse the string if it's already stringified
Handle any nested JSON strings within the object
Decode HTML entities in all string values
Then stringify the entire object once

@John-Weak John-Weak requested a review from a team November 14, 2024 23:57
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.

1 participant