Skip to content

Commit

Permalink
[FIX] cross language compatible meta subject
Browse files Browse the repository at this point in the history
BREAKING CHANGE
  • Loading branch information
András Tóth committed Sep 21, 2022
1 parent eb1f69e commit a765891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nats-base-client/objectstore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ export class ObjectStoreImpl implements ObjectStore {
}

_metaSubject(n: string): string {
return `$O.${this.name}.M.${n}`;
return `$O.${this.name}.M.${Buffer.from(n).toString('base64url')}`;
}

_metaSubjectAll(): string {
Expand Down

0 comments on commit a765891

Please sign in to comment.