From 11f511feac1e790fd9b357f586de19fd941d63d2 Mon Sep 17 00:00:00 2001 From: Helena Rasche Date: Thu, 21 Jul 2022 12:28:45 +0200 Subject: [PATCH] Fix handling + encoding of spaces in tool names --- config/plugins/webhooks/gtn/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/plugins/webhooks/gtn/script.js b/config/plugins/webhooks/gtn/script.js index b0ea7c9db9b..5f5a68be9dc 100644 --- a/config/plugins/webhooks/gtn/script.js +++ b/config/plugins/webhooks/gtn/script.js @@ -138,7 +138,7 @@ if (tool_id === "upload1" || tool_id === "upload") { document.getElementById("tool-panel-upload-button").click(); } else { - Galaxy.router.push("/", { tool_id: tool_id }); + Galaxy.router.push("/", { tool_id: encodeURI(tool_id) }); } removeOverlay(); });