Mohammed Abdul Sattar 4a056b8736 feat: add regex support to trusted-origins
- Add isTrustedOrigin() helper that matches exact strings, '*', or regex
  literals in the form /pattern/flags (e.g. /^.*\.example\.com$/i)
- Use isTrustedOrigin in authenticateOrigin() for --trusted-origins
- Add unit tests for isTrustedOrigin and for regex/wildcard in origin auth

Made-with: Cursor
2026-03-09 14:52:07 -04:00
..
2024-04-16 11:29:12 -08:00
2025-10-28 16:10:56 -08:00
2025-10-28 16:10:56 -08:00
2024-10-17 20:32:21 -08:00
2023-08-29 14:25:24 -08:00
2022-12-06 13:28:27 -07:00