Skip to content

Commit a126717

Browse files
committed
fix: Correctly encode resource registration update URLs
1 parent a418075 commit a126717

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
@@ -288,7 +288,7 @@ export class UmaClient implements SingleThreaded {
288288
let { resource_registration_endpoint: endpoint } = await this.fetchUmaConfig(issuer);
289289
const knownUmaId = await this.umaIdStore.get(resource.path);
290290
if (knownUmaId) {
291-
endpoint = joinUrl(endpoint, knownUmaId);
291+
endpoint = joinUrl(endpoint, encodeURIComponent(knownUmaId));
292292
}
293293

294294
const description: ResourceDescription = {

0 commit comments

Comments
 (0)