Skip to content

fix(router): inherit OAC protection for URL routes - #6989

Open
omercnet wants to merge 2 commits into
anomalyco:devfrom
omercnet:fix/6881-router-oac
Open

fix(router): inherit OAC protection for URL routes#6989
omercnet wants to merge 2 commits into
anomalyco:devfrom
omercnet:fix/6881-router-oac

Conversation

@omercnet

@omercnet omercnet commented Aug 28, 2026

Copy link
Copy Markdown

Summary

  • propagate the Router's normalized protection configuration to URL routes
  • enable Lambda Origin Access Control only for genuine Lambda Function URL origins
  • force HTTPS for signed Lambda origins and keep ordinary URL routes unchanged
  • add focused regression coverage for protected, unprotected, and spoofed origins

Verification

  • bun run --cwd platform test -- test/components/router-url-route.test.ts
  • bun run typecheck:platform
  • bun run build:platform

Closes #6881

@omercnet omercnet changed the title fix(aws): apply router protection to URL routes fix(router): inherit OAC protection for URL routes Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: router.route() does not inherit Router's protection setting, OAC not applied to Lambda URL routes

1 participant