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: {