Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACLs screen fails to load if subjects contain unicode characters #1920

Open
richardtippl-ext90046 opened this issue Aug 29, 2024 · 0 comments
Labels
acl Kafka ACLS bug Something isn't working ui Need an ui update

Comments

@richardtippl-ext90046
Copy link

If the attached Kafka cluster has ACL configuration containing certificates with Unicode characters in the subject field, AKHQ completely fails to load the ACLs screen. This is because btoa used does not support non-latin characters.

see: https://developer.mozilla.org/en-US/docs/Web/API/Window/btoa#unicode_strings

AKHQ version: 0.25.1

Uncaught (in promise) DOMException: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.
    at https://<domain>/ui/assets/index-BdxSfnGT.js:476:54779
    at Array.map (<anonymous>)
    at x5.handleData (https://<domain>/ui/assets/index-BdxSfnGT.js:476:54752)
    at x5.getAcls (https://<domain>/ui/assets/index-BdxSfnGT.js:476:54711)
@AlexisSouquiere AlexisSouquiere added bug Something isn't working ui Need an ui update acl Kafka ACLS labels Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acl Kafka ACLS bug Something isn't working ui Need an ui update
Projects
Status: Backlog
Development

No branches or pull requests

2 participants