You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes: #9614
Issue link: #9614
The `Matcher.quoteReplacement()` escapes `\` as well as `$`.
However, Jackson tries to resolve special symbol from the escaped `$` and fails as `Unrecognized character escape '$' (code 36)`
* Fix `SimpleJsonSerializer.toElement()` to escape only `\`
(cherry picked from commit 8dad15b)
Fixes: #9614
Issue link: #9614
The `Matcher.quoteReplacement()` escapes `\` as well as `$`.
However, Jackson tries to resolve special symbol from the escaped `$` and fails as `Unrecognized character escape '$' (code 36)`
* Fix `SimpleJsonSerializer.toElement()` to escape only `\`
(cherry picked from commit 8dad15b)
In what version(s) of Spring Integration are you seeing this issue?
6.3.5
Describe the bug
SimpleJsonSerializer
has a bug that makes it produce incorrect JSON when dealing with strings that contain$
.For example, when there is a flow with:
FileSplitter
that hasmarkers=true
,markersJson=true
My $1000000 plan.txt
that goes through the splitterTo Reproduce
Run the app from the sample shared below.
Expected behavior
Expecting no
IOException
.Sample
https://github.com/ilya-komlev/spring-integration-bug-202410301536
The text was updated successfully, but these errors were encountered: