mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 07:42:23 +00:00
fix(security): let the app frame its own blob previews
A blob: document inherits the policy of the page that minted it, and WebKit applies the inherited frame-ancestors to the blob frame's own parent. With 'none', Safari on macOS and iOS refused the PDF preview iframe and showed an empty box; Chromium does not apply it there and rendered the preview. 'self' keeps every foreign origin out. Refs #1311
This commit is contained in:
1 parent
6800ff2620
commit
e9886ee554
6 files changed
+34
-31
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$comment": "Production files over 800 lines and their length. Maintained by src/__tests__/source-size-ratchet.test.ts.",
|
||||
"count": 84,
|
||||
"total": 94069,
|
||||
"total": 94064,
|
||||
"entries": {
|
||||
"app/medications/page-client.tsx": 839,
|
||||
"components/charts/mood-chart.tsx": 1166,
|
||||
@@ -86,6 +86,6 @@
|
||||
"lib/validations/inbound-documents.ts": 1018,
|
||||
"lib/withings/sync-sleep.ts": 884,
|
||||
"lib/withings/sync.ts": 933,
|
||||
"proxy.ts": 870
|
||||
"proxy.ts": 865
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user