Skip to content

wasm-decompile: Fix unescaped characters in data output.#2500

Merged
sbc100 merged 1 commit into
WebAssembly:mainfrom
fedosgad:main
Nov 4, 2024
Merged

wasm-decompile: Fix unescaped characters in data output.#2500
sbc100 merged 1 commit into
WebAssembly:mainfrom
fedosgad:main

Conversation

@fedosgad

@fedosgad fedosgad commented Nov 3, 2024

Copy link
Copy Markdown
Contributor

Characters " and \ which have special meaning in data representations are not escaped by wasm-decompile and are passed to output as is.
This PR fixes such incorrect behavior.
All tests still pass (although no cases are added).

@sbc100 sbc100 merged commit 81d6ac4 into WebAssembly:main Nov 4, 2024
@sbc100

sbc100 commented Nov 4, 2024

Copy link
Copy Markdown
Member

I general, a test case would be nice for this kind of change.

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.

2 participants