prosolis
4eaf8ae366
web: refuse writes that come from somebody else's page
...
The session cookie is scoped to the parent domain and is SameSite=Lax, and
every *.parodia.dev host is the same site as Pete as far as Lax is concerned.
So a form on any sibling subdomain could post a bet, a mischief order or an
equip change and the browser would attach whoever's signed-in cookie to it.
Nothing on the server looked at where a request came from.
The whole handler now sits behind http.NewCrossOriginProtection. It reads
Sec-Fetch-Site (falling back to Origin against Host) and refuses a
state-changing request from any other origin with a 403. GETs are untouched,
and so is anything that carries neither header, which is exactly what
gogobee's bearer-token calls from Go look like.
2026-09-22 22:54:38 -07:00
..
2026-07-14 13:30:52 -07:00
2026-08-25 23:06:13 -07:00
2026-07-24 21:42:59 -07:00
2026-07-24 15:47:44 -07:00
2026-07-24 15:47:44 -07:00
2026-07-12 22:01:12 -07:00
2026-07-17 09:27:53 -07:00
2026-07-12 10:33:53 -07:00
2026-07-25 10:21:43 -07:00
2026-07-25 10:21:43 -07:00
2026-07-17 18:57:01 -07:00
2026-07-17 18:57:01 -07:00
2026-07-24 20:26:19 -07:00
2026-07-24 20:26:19 -07:00
2026-09-22 22:54:38 -07:00
2026-07-24 20:35:55 -07:00
2026-07-14 16:49:27 -07:00
2026-07-17 20:34:24 -07:00
2026-07-17 20:48:02 -07:00
2026-07-11 00:53:59 -07:00
2026-07-07 01:25:23 -07:00
2026-07-14 16:37:49 -07:00
2026-07-14 16:37:49 -07:00
2026-07-14 01:19:05 -07:00
2026-07-14 06:28:38 -07:00
2026-07-14 17:17:25 -07:00
2026-07-14 16:05:19 -07:00
2026-07-14 16:37:49 -07:00
2026-07-14 09:08:59 -07:00
2026-07-14 17:17:25 -07:00
2026-07-14 15:43:39 -07:00
2026-07-14 15:43:39 -07:00
2026-07-14 15:43:39 -07:00
2026-07-14 13:30:52 -07:00
2026-07-14 14:22:26 -07:00
2026-07-14 18:37:51 -07:00
2026-09-22 22:54:31 -07:00
2026-07-14 18:37:51 -07:00
2026-07-14 09:08:59 -07:00
2026-07-14 16:37:49 -07:00
2026-07-15 18:50:43 -07:00
2026-07-14 18:37:51 -07:00
2026-07-13 23:00:19 -07:00
2026-07-14 02:11:09 -07:00
2026-07-14 18:37:51 -07:00
2026-07-14 18:37:51 -07:00
2026-07-14 18:37:51 -07:00
2026-07-13 23:00:19 -07:00
2026-07-24 20:26:19 -07:00
2026-06-22 01:54:34 -07:00
2026-07-14 20:55:15 -07:00
2026-07-14 22:22:52 -07:00
2026-07-24 22:45:26 -07:00
2026-07-24 22:45:26 -07:00
2026-07-24 22:45:26 -07:00
2026-06-21 15:44:53 -07:00
2026-07-24 18:22:34 -07:00
2026-07-24 22:36:35 -07:00
2026-07-07 00:07:19 -07:00
2026-07-24 18:22:34 -07:00
2026-07-24 21:42:59 -07:00
2026-07-11 00:53:59 -07:00
2026-07-24 17:54:49 -07:00
2026-07-24 17:54:49 -07:00
2026-07-14 01:19:05 -07:00
2026-07-14 22:22:52 -07:00
2026-07-24 17:11:04 -07:00
2026-07-24 17:11:04 -07:00
2026-07-24 16:33:48 -07:00
2026-07-24 17:11:04 -07:00
2026-05-25 09:20:35 -07:00
2026-09-22 22:54:38 -07:00
2026-07-24 22:45:26 -07:00
2026-07-24 18:55:42 -07:00
2026-07-11 00:53:59 -07:00
2026-07-24 14:46:02 -07:00
2026-07-11 08:07:40 -07:00
2026-07-11 00:53:59 -07:00
2026-07-14 02:11:09 -07:00
2026-07-14 01:19:05 -07:00
2026-07-07 00:07:19 -07:00
2026-07-17 08:18:17 -07:00
2026-07-17 10:31:15 -07:00
2026-07-24 20:26:19 -07:00
2026-07-17 10:04:38 -07:00
2026-07-24 22:45:26 -07:00
2026-07-13 23:40:33 -07:00