Skip to content

Conversation

@NagyZoltanPeter
Copy link
Contributor

@NagyZoltanPeter NagyZoltanPeter commented Oct 5, 2025

nwaku - js-waku interop tests failed and revealed that JSON serialization misses escaping \ backslash characters - escaping the escape character was missing in the writer for strings.

Fixes: waku-org/nwaku#3572

Copy link

@Ivansete-status Ivansete-status left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks! 🙌
I think the changes in tests/test_writer.nim can be undone as they apparently change nph formatting only

@NagyZoltanPeter
Copy link
Contributor Author

LGTM! Thanks! 🙌 I think the changes in tests/test_writer.nim can be undone as they apparently change nph formatting only

Thanks, I did not noticed. Actually that unintended nph formatting hidden the meaningful line that tests the fix.

@NagyZoltanPeter NagyZoltanPeter merged commit b65fd6a into master Oct 6, 2025
26 checks passed
@NagyZoltanPeter NagyZoltanPeter deleted the fix-backslash-escaping branch October 6, 2025 13:29
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.

bug: nwaku returns invalid message JSON when contentTopic contains backslashes

2 participants