Skip to content

Commit 76e34e5

Browse files
committed
fix: Correctly encode URL when deleting resource
1 parent 7078a88 commit 76e34e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/css/src/uma/UmaClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ export class UmaClient implements SingleThreaded {
382382
if (!umaId) {
383383
throw new Error(`Trying to remove UMA registration that is not known: ${resource.path}`);
384384
}
385-
const url = joinUrl(endpoint, umaId);
385+
const url = joinUrl(endpoint, encodeURIComponent(umaId));
386386

387387
this.logger.info(`Deleting resource registration for <${resource.path}> at <${url}>`);
388388

0 commit comments

Comments
 (0)