[GH-ISSUE #946] [BUG] Multibyte characters break client #349

Open
opened 2026-02-27 08:16:47 +03:00 by kerem · 0 comments
Owner

Originally created by @bendlas on GitHub (Aug 8, 2024).
Original GitHub issue: https://github.com/lldap/lldap/issues/946

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

Originally created by @bendlas on GitHub (Aug 8, 2024). Original GitHub issue: https://github.com/lldap/lldap/issues/946 **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: ```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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#349
No description provided.