Files
hedgedoc/frontend
Erik Michelson 77a59c3a26 fix(renderer): allow opening browser popups from sandbox for pdfs
Apparently, opening a link from a sandboxed iframe enabled the
sandbox mode for the opened new tab as well. For most pages,
this is not a problem since these pages don't depend on anything
special. However when clicking a link to a PDF file, Chromium-
based browsers don't open the tab, since the built-in PDF viewer
is not compatible with the sandboxing.
The attribute `allow-popups-to-escape-sandbox` allows pages opened
from the sandbox into a new tab to be not sandboxed. Since we don't
have opener access there, this is no risk to HedgeDoc and can safely
be enabled and therefore fix PDF links.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2026-07-19 13:31:28 +02:00
..
2023-04-13 10:39:17 +02:00
2026-04-09 21:29:57 +02:00
2024-09-01 17:57:45 +02:00