This commit is contained in:
lesion 2022-12-05 18:18:02 +01:00
parent bb2d9905c7
commit d536499a08
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -32,7 +32,7 @@ export default {
async asyncData ({ $axios, params, error }) {
try {
const tag = params.tag
const events = await $axios.$get(`/tag/${tag}`)
const events = await $axios.$get(`/tag/${encodeURIComponent(tag)}`)
return { events, tag }
} catch (e) {
error({ statusCode: 400, message: 'Error!' })