node
01/18/2024, 2:41 PMAttachmentDisplay component and am getting a CSP violation from the iframe that it renders.
Refused to frame 'https://storage.medplum.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors *.medplum.com"
Has the CSP been updated recently to include frame-ancestors *.medplum.com or has this always been the configuration? This prevents PDFs from being displayed with the AttachmentDisplay componentrahul1
01/19/2024, 4:11 PMnode
01/19/2024, 5:08 PMframe-ancestors (which is most https://caniuse.com/?search=frame-ancestor) would break with AttachmentDisplay. Clients could wrap AttachmentDisplay to hook into pdf's and handle rendering the contents themselves without letting AttachmentDisplay attempt to render the PDF in an iframe until a path forward is landed on.rahul1
01/19/2024, 5:10 PMrahul1
01/19/2024, 11:19 PMrahul1
01/19/2024, 11:20 PMnode
01/22/2024, 4:18 PM