Skip to content

Commit 7497b37

Browse files
committed
fix: SidePanelDocumentation - update referrerPolicy for iframe to enhance security
1 parent 7832120 commit 7497b37

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/common/SidePanel/SidePanelDocumentation.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ export const SidePanelDocumentation = ({ onClose }: SidePanelDocumentationProps)
7070
width="100%"
7171
height="100%"
7272
allow="clipboard-read; clipboard-write"
73-
sandbox="allow-same-origin allow-scripts allow-popups"
74-
referrerPolicy="strict-origin"
73+
referrerPolicy="strict-origin-when-cross-origin"
7574
/>
7675
)}
7776
</div>

0 commit comments

Comments
 (0)