mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-18 19:30:27 +08:00
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:
@@ -43,7 +43,7 @@ export async function loadUserRoute({
|
||||
},
|
||||
};
|
||||
}
|
||||
const parsedDid = utils.parseNodeId(did);
|
||||
const parsedDid = utils.parseNodeId(decodeURIComponent(did));
|
||||
if (!parsedDid) {
|
||||
return {
|
||||
resource: "error",
|
||||
|
||||
Reference in New Issue
Block a user