Linus Rath
235f4ea77f
fix: stop replies and forwards loading the remote images the viewer blocked
...
The composer's editor page had no Content-Security-Policy, so quoting a
message loaded every remote image and tracking pixel in it, even when
the viewer had shown that message with remote content blocked.
The editor page now carries a CSP that mirrors the viewer's: nothing
loads but our inline script, styles and images, and remote images and
fonts are blocked whenever the quoted original is one the viewer would
block (untrusted sender and a policy other than "allow"). A reopened
draft that carries a quote counts as untrusted. Inline and pasted
images (`data:`, `blob:`) keep working, and the sent HTML is unchanged.
2026-09-24 19:10:44 +02:00
..
2026-09-24 19:10:44 +02:00
2026-09-24 19:01:23 +02:00
2026-08-29 18:39:45 +02:00
2026-09-24 18:50:55 +02:00
2026-09-24 19:03:34 +02:00
2026-08-29 17:57:54 +02:00
2026-08-29 18:41:06 +02:00
2026-08-29 18:53:58 +02:00
2026-08-29 18:05:56 +02:00
2026-08-29 17:57:54 +02:00
2026-08-29 18:49:08 +02:00
2026-08-29 18:22:00 +02:00
2026-08-29 18:35:46 +02:00
2026-08-29 18:41:06 +02:00
2026-08-29 17:52:26 +02:00
2026-08-29 17:45:43 +02:00
2026-08-29 17:52:26 +02:00
2026-08-29 18:35:46 +02:00
2026-09-24 19:01:24 +02:00
2026-09-24 18:56:38 +02:00
2026-08-29 18:03:24 +02:00
2026-08-29 18:12:15 +02:00
2026-09-24 19:03:34 +02:00
2026-09-24 19:10:43 +02:00
2026-08-29 18:04:21 +02:00
2026-08-29 18:22:14 +02:00
2026-05-30 15:33:41 +02:00
2026-08-29 18:23:08 +02:00
2026-09-24 19:10:44 +02:00
2026-09-24 18:50:55 +02:00
2026-08-29 18:38:53 +02:00
2026-08-29 18:38:53 +02:00
2026-08-29 18:38:53 +02:00
2026-09-24 18:50:55 +02:00
2026-08-29 17:49:23 +02:00
2026-05-30 15:33:41 +02:00
2026-08-29 17:59:44 +02:00
2026-08-29 18:38:53 +02:00
2026-08-29 18:20:01 +02:00
2026-05-05 22:06:07 +02:00
2026-08-29 18:39:45 +02:00
2026-09-24 18:44:28 +02:00
2026-08-29 18:28:43 +02:00
2026-08-29 18:10:25 +02:00
2026-08-29 18:22:14 +02:00
2026-09-24 19:06:54 +02:00
2026-09-24 18:43:43 +02:00
2026-09-24 18:36:15 +02:00
2026-08-29 18:22:14 +02:00
2026-08-29 17:42:32 +02:00
2026-09-24 18:40:43 +02:00
2026-09-24 18:40:43 +02:00
2026-08-29 18:47:12 +02:00
2026-08-29 18:03:23 +02:00
2026-08-01 13:29:15 +02:00
2026-09-24 19:09:36 +02:00
2026-09-24 19:09:36 +02:00
2026-08-29 18:15:22 +02:00
2026-08-29 18:12:15 +02:00
2026-08-29 17:42:31 +02:00
2026-08-29 18:12:15 +02:00
2026-06-12 17:15:50 +02:00
2026-08-29 17:42:22 +02:00
2026-08-29 17:45:43 +02:00
2026-08-29 18:12:15 +02:00
2026-08-29 17:49:23 +02:00
2026-08-29 17:49:23 +02:00
2026-04-26 04:12:08 +02:00
2026-09-24 18:40:43 +02:00
2026-05-05 22:06:07 +02:00
2026-09-24 18:43:43 +02:00
2026-08-29 22:41:09 +02:00
2026-08-29 18:12:15 +02:00
2026-09-24 18:50:55 +02:00
2026-08-29 18:38:53 +02:00
2026-08-29 18:03:24 +02:00
2026-08-29 18:12:15 +02:00
2026-08-29 17:49:23 +02:00
2026-08-29 18:12:15 +02:00
2026-08-29 18:22:14 +02:00
2026-08-29 18:38:53 +02:00
2026-08-29 18:05:16 +02:00
2026-08-29 18:03:23 +02:00
2026-09-24 19:03:33 +02:00
2026-09-24 18:17:43 +02:00
2026-08-29 18:15:22 +02:00
2026-09-24 18:41:23 +02:00
2026-04-27 13:30:45 +02:00
2026-08-29 17:42:31 +02:00
2026-08-29 17:48:18 +02:00
2026-09-24 19:03:34 +02:00
2026-04-26 04:50:03 +02:00
2026-09-24 19:06:54 +02:00