Files
node/crates/gitlawb-node
Ayush7614 01543e6764 test(node): make iCaptcha oversized-body test use a valid padded JWKS
coderabbit flagged that the size-limit test fed fetch_key a body of
repeated x bytes, which is invalid JSON: even without a byte cap the
parse would return None, so the test passed regardless of the limit.
Pad jwks_body() with JSON whitespace past KEY_MAX_BODY_BYTES so an
unbounded read would still parse successfully, making the assertion
actually exercise the cap.
2026-11-10 22:29:30 +05:30
..