silverwind
5f8e19fcef
Move X_FRAME_OPTIONS setting from cors to security section ( #30256 )
...
## Summary
- Move `cors.X_FRAME_OPTIONS` to `security.X_FRAME_OPTIONS` (old
location still works with a deprecation warning)
- Support `"unset"` as a special value to remove the `X-Frame-Options`
header entirely
- Remove `X-Frame-Options` header from API responses (only set for
web/HTML responses)
## Migration
If you had customized `cors.X_FRAME_OPTIONS`, move it to the
`[security]` section. The old location is deprecated and will be removed
in a future release.
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2026-02-22 20:26:46 +00:00
..
2026-02-22 19:33:01 +00:00
2025-08-28 03:52:43 +00:00
2026-02-01 10:35:51 +00:00
2026-01-24 05:11:49 +00:00
2025-11-26 23:25:34 +08:00
2025-09-13 10:34:43 -04:00
2025-04-01 09:42:10 +00:00
2025-11-05 17:48:38 +00:00
2025-06-27 21:48:03 +08:00
2025-04-09 16:34:38 +00:00
2025-12-14 12:40:55 +02:00
2025-06-27 07:59:55 +02:00
2024-11-11 04:07:54 +08:00
2025-09-04 09:54:58 -07:00
2025-09-01 19:40:12 +00:00
2026-02-12 21:39:36 +00:00
2026-01-13 13:13:39 +00:00
2026-01-30 20:48:56 +00:00
2024-02-16 15:18:30 +00:00
2026-02-19 01:23:32 +00:00
2026-02-19 01:23:32 +00:00
2025-09-13 18:01:00 +00:00
2025-09-06 16:52:41 +00:00
2026-02-16 09:57:18 +00:00
2025-08-18 15:17:19 +00:00
2026-02-19 01:23:32 +00:00
2026-02-16 02:11:02 +00:00
2025-06-18 01:48:09 +00:00
2026-01-23 20:24:58 +00:00
2025-06-18 01:48:09 +00:00
2025-12-13 21:54:03 +08:00
2026-02-13 00:15:46 +00:00
2025-11-12 19:44:49 +08:00
2025-09-28 22:30:28 +08:00
2025-06-18 01:48:09 +00:00
2026-01-22 06:04:26 +00:00
2025-10-15 09:47:12 +00:00
2026-01-21 01:35:14 +00:00
2026-02-16 10:27:49 +00:00
2022-11-27 18:20:29 +00:00
2025-08-28 03:52:43 +00:00
2026-01-05 21:48:12 +08:00
2026-01-21 01:35:14 +00:00
2026-02-16 09:57:18 +00:00
2025-06-12 03:59:33 +00:00
2026-02-08 20:25:30 +00:00
2025-03-23 19:52:43 +00:00
2022-11-27 18:20:29 +00:00
2025-10-15 09:47:12 +00:00
2026-01-21 01:35:14 +00:00
2025-09-13 18:01:00 +00:00
2025-04-01 10:14:01 +00:00
2026-01-24 05:11:49 +00:00
2026-01-21 01:35:14 +00:00
2022-11-27 18:20:29 +00:00
2025-12-27 09:05:24 -08:00
2025-03-31 01:53:48 -04:00
2026-02-11 00:16:05 +00:00
2025-06-18 01:48:09 +00:00
2025-02-21 00:05:40 +08:00
2026-02-19 01:23:32 +00:00
2026-02-22 20:26:46 +00:00
2022-12-30 23:31:00 +08:00
2025-06-09 19:51:02 +00:00
2025-11-09 21:31:25 -08:00
2026-02-07 01:34:29 +00:00
2025-10-28 18:25:00 +08:00
2025-08-28 03:52:43 +00:00
2025-01-21 18:57:07 +00:00
2025-10-04 01:21:26 +08:00
2026-02-16 10:58:04 +00:00
2026-02-08 20:25:30 +00:00
2026-02-19 01:23:32 +00:00
2026-02-19 01:23:32 +00:00
2025-12-25 12:51:33 -08:00
2023-02-05 15:29:03 +08:00
2026-01-14 23:35:52 +08:00
2025-04-01 10:14:01 +00:00
2022-11-27 18:20:29 +00:00
2025-01-09 09:21:47 +08:00
2026-02-14 07:40:59 +00:00
2026-01-24 09:58:28 +01:00
2026-02-11 18:37:13 +01:00
2026-02-20 16:12:22 +00:00
2025-06-12 03:59:33 +00:00