Fixed potential XSS issues

This commit is contained in:
frikky
2021-10-15 01:16:18 +02:00
parent 828f18af33
commit 097712ad4b
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2120,7 +2120,7 @@ const Admin = (props) => {
:
<Tooltip title={"Go to workflow"} style={{}} aria-label={"Download"}>
<span>
<a style={{textDecoration: "none", color: "#f85a3e"}} href={`/workflows/${file.workflow_id}`} target="_blank">
<a rel="norefferer" 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>