Files
OpenFlare/internal
ryan f6f8c25930 fix(router): restrict CORS origin reflection to allowed hosts (AUTH-ROUTE-5)
- Extract isOriginAllowed helper to match Origin against server_address configurations
- Ensure arbitrary origins are not reflected and credentials are not allowed when server_address is unconfigured or mismatched
- Trim trailing slashes from allowed origins configuration for robust matching
- Add TestCORSMiddleware to cover all CORS matching and rejection scenarios
2026-06-13 10:23:20 +08:00
..
2026-06-12 14:12:03 +08:00
2026-06-12 14:12:03 +08:00
2026-06-10 11:33:33 +08:00
2026-06-10 19:36:35 +08:00
2026-06-08 20:34:28 +08:00
2026-06-10 11:33:33 +08:00
2026-06-10 11:33:33 +08:00
2026-06-08 20:34:28 +08:00
2026-06-10 13:50:58 +08:00
2026-06-12 14:32:27 +08:00
2026-06-12 10:55:24 +08:00