Paul Bakaus and Claude Fable 5
0f80c1f5aa
Add regression tests for token-authorized CORS on non-localhost dev hosts
...
Covers the fix for the ddev breakage reported in #304 : the live server
now reflects Access-Control-Allow-Origin for any request bearing the
valid session token, so dev servers on loopback aliases (https://*.ddev.site ,
Valet's *.test, hosts-file entries) work again while tokenless remote
origins stay blocked. The server/browser source changes shipped in
b1c5707f; this adds the test coverage that was written alongside them:
- tokenless remote origins get no ACAO on any route, token'd or not
- a non-loopback origin with the valid token is reflected, with
Vary: Origin, on both the real request and its OPTIONS preflight
- the /manual-edit-stash source assertion tracks the token-bearing URL
Prepared with AI assistance.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-31 18:02:54 -07:00
..
2026-07-29 17:45:45 -07:00
2026-07-28 17:38:46 -07:00
2026-07-29 14:28:15 -07:00
2026-07-27 19:20:02 -07:00
2026-07-22 12:23:07 -07:00
2026-07-21 10:43:44 -07:00
2026-07-31 13:04:45 +02:00
2026-07-27 15:19:58 -07:00
2026-07-19 18:42:41 -07:00
2026-07-07 17:23:39 -07:00
2026-07-29 17:46:54 -07:00
2026-07-26 19:04:48 -07:00
2026-07-21 21:50:40 -07:00
2026-05-18 15:15:14 -07:00
2026-07-31 17:21:29 -07:00
2026-07-19 20:39:55 -07:00
2026-07-24 16:17:24 -07:00
2026-07-29 17:45:45 -07:00
2026-07-29 14:28:15 -07:00
2026-07-22 12:23:06 -07:00
2026-07-22 20:29:18 +05:30
2026-07-31 17:32:57 -07:00
2026-06-08 15:23:37 -07:00
2026-07-27 15:09:40 -07:00
2026-07-10 12:02:52 -07:00
2026-07-26 22:17:19 +05:00
2026-07-29 14:28:15 -07:00
2026-06-20 19:49:37 +09:00
2026-07-18 14:21:06 -07:00
2026-07-28 18:05:41 -07:00
2026-06-08 16:58:55 -07:00
2026-07-20 10:49:36 -07:00
2026-06-09 23:10:10 +02:00
2026-07-27 16:11:52 -07:00
2026-07-09 17:09:13 -07:00
2026-05-04 16:38:03 -07:00
2026-07-31 18:02:54 -07:00
2026-06-08 16:58:55 -07:00
2026-07-19 18:42:41 -07:00
2026-05-28 19:02:12 -07:00
2026-06-08 16:58:55 -07:00
2026-06-08 11:30:15 -07:00
2026-07-19 18:42:41 -07:00
2026-05-22 09:28:36 -07:00
2026-07-27 19:20:02 -07:00
2026-06-08 10:39:12 -07:00
2026-07-28 17:38:46 -07:00
2026-07-27 15:09:40 -07:00
2026-07-28 17:38:46 -07:00
2026-07-22 22:49:44 -07:00
2026-07-27 15:09:40 -07:00
2026-06-08 16:58:55 -07:00
2026-05-28 14:22:22 -07:00
2026-06-08 16:58:55 -07:00
2026-07-19 18:42:41 -07:00
2026-07-15 23:29:47 -07:00
2026-07-27 19:20:02 -07:00
2026-07-27 16:33:34 -07:00
2026-07-29 17:45:45 -07:00
2026-07-28 15:57:33 -07:00
2026-07-31 18:02:54 -07:00
2026-07-27 16:33:34 -07:00
2026-07-19 18:42:41 -07:00
2026-07-20 10:49:36 -07:00
2026-07-07 17:11:04 -07:00
2026-07-28 18:18:05 -07:00
2026-07-28 17:55:13 -07:00
2026-07-22 22:49:44 -07:00
2026-07-27 19:20:02 -07:00
2026-06-08 16:58:55 -07:00
2026-07-22 22:49:44 -07:00
2026-07-22 12:23:07 -07:00
2026-07-20 22:41:53 -07:00
2026-07-09 17:09:13 -07:00
2026-07-28 17:07:51 -07:00
2026-07-31 13:04:45 +02:00
2026-07-21 21:50:40 -07:00
2026-07-17 16:10:13 -07:00
2026-06-20 19:49:37 +09:00
2026-07-20 10:49:36 -07:00
2026-06-08 10:39:12 -07:00
2026-07-09 17:09:13 -07:00
2026-05-17 19:49:38 -07:00
2026-06-15 20:33:43 -07:00