Fixed potentially unsafe links with noopener noreferrer

This commit is contained in:
frikky
2021-10-15 01:32:27 +02:00
parent 85482d3c7a
commit 239fdf4528
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -2320,7 +2320,7 @@ const Admin = (props) => {
:
<Tooltip title={"Go to workflow"} style={{}} aria-label={"Download"}>
<span>
<a rel="norefferer" style={{textDecoration: "none", color: "#f85a3e"}} href={`/workflows/${file.workflow_id}`} target="_blank">
<a rel="noopener noreferrer" style={{textDecoration: "none", color: "#f85a3e"}} href={`/workflows/${file.workflow_id}`} target="_blank">
<IconButton disabled={file.workflow_id === "global"}>
<OpenInNewIcon style={{color: file.workflow_id !== "global" ? "white" : "grey",}} />
</IconButton>