From 5f9f759a069d4d50db591b1fab417eba8cd5e5b2 Mon Sep 17 00:00:00 2001 From: richburdon Date: Sun, 20 Dec 2020 13:09:57 +0000 Subject: [PATCH] Don't encode name. --- packages/console-app/src/components/AppLink.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/console-app/src/components/AppLink.js b/packages/console-app/src/components/AppLink.js index 0b4eecce..93498165 100644 --- a/packages/console-app/src/components/AppLink.js +++ b/packages/console-app/src/components/AppLink.js @@ -21,7 +21,9 @@ const getAppUrl = (config, { wrn }) => { pathComponents.push(prefix.substring(1)); } - pathComponents.push(encodeURIComponent(wrn)); + // TODO(burdon): Make names URL safe so that encoding is not required. + // pathComponents.push(encodeURIComponent(wrn)); + pathComponents.push(wrn); return `${pathComponents.join('/')}/`; };