naiba
78f5b014ee
fix(csrf): set Secure on csrf cookie only over HTTPS
...
CodeQL go/cookie-secure-not-set (CWE-614) flagged the nz-csrf cookie as
missing the Secure attribute. Mirror writeOauth2StateCookie and derive
Secure from the request scheme instead of hardcoding it: forcing
Secure=true would make browsers drop the cookie on plain-HTTP intranet
deployments, breaking the double-submit CSRF pair and 403-ing every
unsafe request.
2026-06-05 01:08:00 +00:00
..
2025-12-04 21:52:12 +08:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-31 15:14:41 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-31 15:14:41 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-31 05:51:32 +00:00
2026-05-31 08:16:55 +00:00
2026-05-30 15:56:44 +00:00
2026-05-31 15:14:41 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-26 03:59:50 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-31 05:48:50 +00:00
2026-05-31 05:48:50 +00:00
2026-06-05 01:08:00 +00:00
2025-03-19 21:52:16 +08:00
2026-05-30 15:56:44 +00:00
2026-05-25 10:17:34 +00:00
2026-05-30 15:56:44 +00:00
2026-05-25 10:17:34 +00:00
2026-05-30 15:56:44 +00:00
2026-05-17 10:24:19 +08:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-31 16:18:57 +00:00
2026-05-31 16:18:57 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-31 15:14:41 +00:00
2026-05-31 16:18:57 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-31 15:14:41 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-06-02 03:31:36 +00:00
2026-05-30 15:56:44 +00:00
2026-05-31 15:14:41 +00:00
2026-05-31 15:14:41 +00:00
2026-05-31 15:14:41 +00:00
2026-05-31 15:14:41 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-31 05:48:50 +00:00
2026-05-30 15:56:44 +00:00
2026-05-31 05:51:32 +00:00
2026-05-31 15:14:41 +00:00
2026-05-31 16:18:57 +00:00
2026-05-31 02:04:35 +00:00
2026-05-17 10:24:19 +08:00
2026-01-10 17:29:10 +08:00
2026-05-31 05:48:50 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-06-02 03:31:36 +00:00
2026-05-30 15:56:44 +00:00
2026-06-02 03:31:36 +00:00
2026-05-31 15:14:41 +00:00
2026-05-30 15:56:44 +00:00
2026-05-31 15:14:41 +00:00
2026-05-31 15:14:41 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-31 15:14:41 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-06-02 03:31:36 +00:00
2026-06-02 03:31:36 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-31 02:04:35 +00:00
2026-05-31 02:04:35 +00:00
2026-05-25 10:17:34 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-25 10:17:34 +00:00
2026-05-30 15:56:44 +00:00
2026-05-25 10:17:34 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00
2026-05-26 03:51:05 +00:00
2025-01-04 20:49:14 +08:00
2026-05-30 15:56:44 +00:00
2026-05-30 15:56:44 +00:00