From 30c3004f27e86377613c06649f939e7f32746ca5 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Fri, 6 Sep 2019 10:25:30 +0100 Subject: [PATCH] Sanitize tab name in edit dialog --- .../@node-red/editor-client/src/js/ui/workspaces.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/workspaces.js b/packages/node_modules/@node-red/editor-client/src/js/ui/workspaces.js index 32196a4c4..1e1597e7a 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/workspaces.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/workspaces.js @@ -63,7 +63,7 @@ RED.workspaces = (function() { RED.view.state(RED.state.EDITING); var tabflowEditor; var trayOptions = { - title: RED._("workspace.editFlow",{name:workspace.label}), + title: RED._("workspace.editFlow",{name:RED.utils.sanitize(workspace.label)}), buttons: [ { id: "node-dialog-delete",