8000 [BUG] Multibyte characters break client · Issue #946 · lldap/lldap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[BUG] Multibyte characters break client #946

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

Open
bendlas opened this issue Aug 8, 2024 · 0 comments
Open

[BUG] Multibyte characters break client #946

bendlas opened this issue Aug 8, 2024 · 0 comments
Labels
bug Something isn't working frontend Issues that require a frontend change

Comments

@bendlas
Copy link
Contributor
bendlas commented Aug 8, 2024

Describe the bug

When a server response contains a multibyte character, the client remains in the loading state and throws an exception to the browser console:

panicked at /build/rustc-1.80.0-src/vendor/dlmalloc-0.2.6/src/dlmalloc.rs:1198:13:
assertion failed: psize <= size + max_overhead

To Reproduce

  1. build, ./target/debug/lldap run, log in
  2. create a user, use a multibyte character in any field, e.g. First name: Ᵽäüĺã
  3. submit, observe that Loading ... remains and the console error

Expected behavior

Any unicode character is accepted in most fields, otherwise clear error message

Logs

https://gist.github.com/bendlas/804ae3599cf1274332af8fea4b95c12f

@bendlas bendlas added the bug Something isn't working label Aug 8, 2024
@bendlas bendlas changed the title [BUG] Unicode - related client error [BUG] Multibyte characters break client Aug 8, 2024
@nitnelave nitnelave added the frontend Issues that require a frontend change label Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Issues that require a frontend change
Projects
None yet
Development

No branches or pull requests

2 participants
0