Keysat 693d72431b Return clean JSON for body-parser/unhandled errors
Malformed JSON request bodies fell through to Express's default error
handler, which renders an HTML page including the local-filesystem stack
trace (info leak). Add a final error-handling middleware: JSON 400 for
entity.parse.failed, 413 for entity.too.large, generic 500 otherwise —
closing the stack-trace leak on every propagated error, not just JSON.
2026-06-13 18:22:00 -05:00
2026-05-11 20:14:50 -05:00
2026-05-11 20:03:27 -05:00
2026-05-11 20:03:27 -05:00
2026-05-11 20:03:27 -05:00
2026-05-11 20:03:27 -05:00
2026-05-11 20:03:27 -05:00
2026-05-11 20:03:27 -05:00
2026-05-11 20:14:50 -05:00
2026-05-11 20:03:27 -05:00
2026-05-11 20:03:27 -05:00
2026-05-11 20:03:27 -05:00
S
Description
No description provided
873 KiB
Languages
JavaScript 58.2%
HTML 23.6%
TypeScript 17%
Shell 0.7%
Makefile 0.3%
Other 0.2%