From 19ed2e6ce8d8eed66ce4ed473392b2b8a9e7fb95 Mon Sep 17 00:00:00 2001 From: Ryan Senior <ryan@metabase.com> Date: Thu, 31 Aug 2017 10:01:07 -0500 Subject: [PATCH] Remove the double encoding of the collection's slug Fixes #5108 --- frontend/src/metabase/lib/urls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/metabase/lib/urls.js b/frontend/src/metabase/lib/urls.js index 9dfeffc0995..70428fccef6 100644 --- a/frontend/src/metabase/lib/urls.js +++ b/frontend/src/metabase/lib/urls.js @@ -68,7 +68,7 @@ export function tableRowsQuery(databaseId, tableId, metricId, segmentId) { } export function collection(collection) { - return `/questions/collections/${encodeURIComponent(collection.slug)}`; + return `/questions/collections/${collection.slug}`; } export function label(label) { -- GitLab