Moonchild
707c3e3fa8
Issue #2258 - Part 3: Allow sniffing with XCTO:nosniff + empty MIME type.
...
This moves the checking code back to NS_SniffContent and specifically
checks requests for either:
- Empty `Content-type` header, OR
- A known JSON MIME type
If present, sniffing is allowed despite `nosniff` because in the first
case this is webmaster error (conflicting `nosniff` without MIME type
would always fail, so sniff it), and in the second case we need this
carveout or our json viewer will break.
2025-08-18 09:47:36 +08:00
..
2023-06-24 12:16:27 +08:00
2024-11-21 21:08:24 +08:00
2020-09-25 22:04:23 +08:00
2024-11-21 21:08:24 +08:00
2023-01-10 07:30:36 +08:00
2023-01-10 07:30:36 +08:00
2019-02-16 00:20:15 +08:00
2023-01-10 07:31:09 +08:00
2023-01-10 07:30:36 +08:00
2018-01-19 03:59:58 +08:00
2020-08-06 10:23:07 +08:00
2020-08-06 10:23:07 +08:00
2018-01-19 03:59:58 +08:00
2023-01-10 07:31:09 +08:00
2018-01-19 03:59:58 +08:00
2023-01-10 07:31:26 +08:00
2023-01-10 07:30:36 +08:00
2023-01-10 07:31:09 +08:00
2024-11-21 21:08:24 +08:00
2024-11-21 21:08:24 +08:00
2024-11-21 21:08:24 +08:00
2018-01-19 03:59:58 +08:00
2019-02-15 23:47:06 +08:00
2018-01-19 03:59:58 +08:00
2020-09-25 22:04:12 +08:00
2019-02-15 23:36:15 +08:00
2023-01-10 07:29:50 +08:00
2023-01-10 07:29:50 +08:00
2023-01-10 07:31:40 +08:00
2023-01-10 07:31:40 +08:00
2019-02-16 00:20:18 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2022-04-28 10:25:48 +08:00
2019-02-16 00:24:35 +08:00
2018-01-19 03:59:58 +08:00
2023-01-10 07:29:50 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2024-11-21 21:08:24 +08:00
2023-01-10 07:30:55 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2019-02-16 00:24:35 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2023-01-10 07:29:50 +08:00
2023-01-10 07:29:50 +08:00
2022-05-31 09:36:20 +08:00
2019-02-16 00:20:18 +08:00
2018-01-19 03:59:58 +08:00
2022-04-28 10:43:09 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2025-08-18 09:47:36 +08:00
2018-01-19 03:59:58 +08:00
2025-05-14 14:22:56 +08:00
2025-05-14 14:22:56 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2023-01-10 07:30:55 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2023-01-10 07:30:36 +08:00
2018-01-19 03:59:58 +08:00
2023-01-10 07:30:36 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2022-06-22 09:03:10 +08:00
2020-08-06 10:23:07 +08:00
2020-08-06 10:23:07 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2024-11-21 21:08:24 +08:00
2024-11-21 21:08:24 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2023-01-10 07:30:55 +08:00
2023-01-10 07:30:55 +08:00
2020-09-25 22:04:12 +08:00
2023-04-30 21:25:05 +08:00
2023-01-10 07:31:09 +08:00
2018-01-19 03:59:58 +08:00
2018-01-19 03:59:58 +08:00
2020-09-25 22:04:12 +08:00
2018-01-19 03:59:58 +08:00
2020-09-25 22:04:12 +08:00
2023-01-10 07:29:36 +08:00
2020-09-25 22:04:12 +08:00
2022-10-27 09:03:27 +08:00
2018-01-19 03:59:58 +08:00
2023-01-10 07:29:50 +08:00
2023-01-10 07:29:50 +08:00