Fixed potential XSS issues
This commit is contained in:
@@ -2120,7 +2120,7 @@ const Admin = (props) => {
|
|||||||
:
|
:
|
||||||
<Tooltip title={"Go to workflow"} style={{}} aria-label={"Download"}>
|
<Tooltip title={"Go to workflow"} style={{}} aria-label={"Download"}>
|
||||||
<span>
|
<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"}>
|
<IconButton disabled={file.workflow_id === "global"}>
|
||||||
<OpenInNewIcon style={{color: file.workflow_id !== "global" ? "white" : "grey",}} />
|
<OpenInNewIcon style={{color: file.workflow_id !== "global" ? "white" : "grey",}} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
|
|||||||
@@ -3625,7 +3625,7 @@ const AngularWorkflow = (props) => {
|
|||||||
return (
|
return (
|
||||||
<div style={appViewStyle}>
|
<div style={appViewStyle}>
|
||||||
<div style={variableScrollStyle}>
|
<div style={variableScrollStyle}>
|
||||||
What are <a rel="norefferer" target="_blank" href="https://shuffler.io/docs/workflows#workflow_variables" target="_blank" style={{textDecoration: "none", color: "#f85a3e"}}>WORKFLOW variables?</a>
|
What are <a rel="norefferer" href="https://shuffler.io/docs/workflows#workflow_variables" target="_blank" style={{textDecoration: "none", color: "#f85a3e"}}>WORKFLOW variables?</a>
|
||||||
{workflow.workflow_variables === null ?
|
{workflow.workflow_variables === null ?
|
||||||
null : workflow.workflow_variables.map((variable, index) => {
|
null : workflow.workflow_variables.map((variable, index) => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -850,7 +850,7 @@ const Apps = (props) => {
|
|||||||
<Paper square style={uploadViewPaperStyle}>
|
<Paper square style={uploadViewPaperStyle}>
|
||||||
<div style={{width: "100%", margin: 25}}>
|
<div style={{width: "100%", margin: 25}}>
|
||||||
<h2>App Creator</h2>
|
<h2>App Creator</h2>
|
||||||
<a href="https://shuffler.io/docs/apps" style={{textDecoration: "none", color: "#f85a3e"}} target="_blank">How it works</a>
|
<a rel="norefferer" href="https://shuffler.io/docs/apps" style={{textDecoration: "none", color: "#f85a3e"}} target="_blank">How it works</a>
|
||||||
- <a href="https://github.com/frikky/security-openapis" style={{textDecoration: "none", color: "#f85a3e"}} target="_blank">Security API's</a>
|
- <a href="https://github.com/frikky/security-openapis" style={{textDecoration: "none", color: "#f85a3e"}} target="_blank">Security API's</a>
|
||||||
- <a href="https://apis.guru/browse-apis/" style={{textDecoration: "none", color: "#f85a3e"}} target="_blank">OpenAPI directory</a>
|
- <a href="https://apis.guru/browse-apis/" style={{textDecoration: "none", color: "#f85a3e"}} target="_blank">OpenAPI directory</a>
|
||||||
- <a href="https://editor.swagger.io/" style={{textDecoration: "none", color: "#f85a3e"}} target="_blank">OpenAPI Validator</a>
|
- <a href="https://editor.swagger.io/" style={{textDecoration: "none", color: "#f85a3e"}} target="_blank">OpenAPI Validator</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user