From d8fadbf3702245b270c2a4e085715b9f29292ca2 Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Thu, 5 Nov 2020 18:50:22 +0100 Subject: [PATCH] [profile][bug] fix escaping characters when fetching a profile --- routes/profile.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/profile.vue b/routes/profile.vue index 848934b8f..b8f6ba088 100644 --- a/routes/profile.vue +++ b/routes/profile.vue @@ -123,7 +123,7 @@ }, async asyncData({ app, route }) { return { - profiles: await app.$axios.$get(`/profile/get/${route.params.pathMatch}`), + profiles: await app.$axios.$get(`/profile/get/${encodeURIComponent(route.params.pathMatch)}`), }; }, computed: {