diff --git a/frontend/wizard-vue/src/urlmaker/index.ts b/frontend/wizard-vue/src/urlmaker/index.ts index 678f462..bc92e28 100644 --- a/frontend/wizard-vue/src/urlmaker/index.ts +++ b/frontend/wizard-vue/src/urlmaker/index.ts @@ -37,7 +37,7 @@ export async function encodeUrl(specs: Specs): Promise { } export function getScreenshotUrl(url: string): string { - return `${apiBase}${screenshotEndpoint}?url=${url}`; + return `${apiBase}${screenshotEndpoint}?url=${encodeURIComponent(url)}`; } function b64encode(buf: Uint8Array): string {