[profile][bug] fix escaping characters when fetching a profile

This commit is contained in:
Andrea Vos 2020-11-05 18:50:22 +01:00
parent f16c40d2fb
commit d8fadbf370

View File

@ -123,7 +123,7 @@
}, },
async asyncData({ app, route }) { async asyncData({ app, route }) {
return { return {
profiles: await app.$axios.$get(`/profile/get/${route.params.pathMatch}`), profiles: await app.$axios.$get(`/profile/get/${encodeURIComponent(route.params.pathMatch)}`),
}; };
}, },
computed: { computed: {