From e61197a5ae219949641576abadf75a3f08f9b064 Mon Sep 17 00:00:00 2001 From: "jason.lai" Date: Sat, 16 Mar 2024 20:53:04 +0800 Subject: [PATCH] feat: improve security measures in SVG elements - Add `allow="clipboard-write"` attribute to the SVG element Signed-off-by: jason.lai --- .../components/Executions/ExecutionDetails/ExecutionNodeDeck.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/oss-console/src/components/Executions/ExecutionDetails/ExecutionNodeDeck.tsx b/packages/oss-console/src/components/Executions/ExecutionDetails/ExecutionNodeDeck.tsx index d871c7e62..105c05f1a 100644 --- a/packages/oss-console/src/components/Executions/ExecutionDetails/ExecutionNodeDeck.tsx +++ b/packages/oss-console/src/components/Executions/ExecutionDetails/ExecutionNodeDeck.tsx @@ -41,6 +41,7 @@ export const ExecutionNodeDeck: React.FC<{ width: '100%', height: '100%', }} + allow="clipboard-write" /> );