@@ -77,7 +77,7 @@ watch(() => appStore.altchaPayload, () => {
}, { immediate: false })
const submit = async () => {
- const url = 'https://api.ogene.fr/api/id-card?payload=' + (appStore.altchaPayload ?? '');
+ const url = 'https://api.ogene.fr/api/id-card?payload=' + encodeURI(appStore.altchaPayload ?? '');
try {
const response = await fetch(url, {