diff --git a/src/lib/utils.ts b/src/lib/utils.ts index 95fec51..3fb8058 100644 --- a/src/lib/utils.ts +++ b/src/lib/utils.ts @@ -27,7 +27,7 @@ export function makeVariantsUrl({ org, repo }: App, version: string) { export function extractFileNameFromUrl(url: string) { const urlobj = new URL(url); const parts = urlobj.pathname.split("/"); - const filename = decodeURI(parts[parts.length - 1]); + const filename = decodeURIComponent(parts[parts.length - 1]); return filename; }