Skip to content

Commit 3a3c159

Browse files
Harden and refactor Bloblang WASM input handling (#329)
* Harden and refactor Bloblang WASM input handling - Ensure all JSON input is recursively sanitized to native Go types (float64/int64), preventing json.Number from reaching Benthos/Redpanda Connect. - Add robust fixNumbers/canonicalize/failsafe checks for both string and JS object payloads. - Clean up and document code for clarity and maintainability. - Confirm all playground and headless tests pass. * Update blobl-editor/wasm/main.go Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Fix linter * Apply coderabbit suggestions * Remove duplicate call to fixNumbers * Update Bump header * Fix linter --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 387e953 commit 3a3c159

File tree

4 files changed

+384
-108
lines changed

4 files changed

+384
-108
lines changed

0 commit comments

Comments
 (0)