mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-19 19:48:45 +00:00
fix(console): set metadata value encoding to utf-8 (#6392)
* fix: set encoding to utf-8 * org metadata encoding * user detail mgmt encoding * utf-8 encoding decoding of saml applications --------- Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
co-authored by
Livio Spring
parent
aa2d547eb2
commit
a141b8f3e7
+1
-1
@@ -406,7 +406,7 @@ export class AuthUserDetailComponent implements OnDestroy {
|
||||
this.metadata = resp.resultList.map((md) => {
|
||||
return {
|
||||
key: md.key,
|
||||
value: Buffer.from(md.value as string, 'base64').toString('ascii'),
|
||||
value: Buffer.from(md.value as string, 'base64').toString('utf8'),
|
||||
};
|
||||
});
|
||||
})
|
||||
|
||||
@@ -508,7 +508,7 @@ export class UserDetailComponent implements OnInit {
|
||||
this.metadata = resp.resultList.map((md) => {
|
||||
return {
|
||||
key: md.key,
|
||||
value: Buffer.from(md.value as string, 'base64').toString('ascii'),
|
||||
value: Buffer.from(md.value as string, 'base64').toString('utf-8'),
|
||||
};
|
||||
});
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user