Run user did through decodeURIComponent before validating

We recently moved app.radicle.xyz to Cloudflare, which by default
normalizes all URLs to be encoded on redirect. The redirects happen
because we run in SPA mode.
This commit is contained in:
Rūdolfs Ošiņš
2025-07-24 12:50:29 +02:00
parent be5605acde
commit 781045b254
+1 -1
View File
@@ -43,7 +43,7 @@ export async function loadUserRoute({
},
};
}
const parsedDid = utils.parseNodeId(did);
const parsedDid = utils.parseNodeId(decodeURIComponent(did));
if (!parsedDid) {
return {
resource: "error",