mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #19361] issue: Unicode rendering issues when using HTTP header-based authentication #34377
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tlhr on GitHub (Nov 21, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19361
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.36
Ollama Version (if applicable)
No response
Operating System
macOS Sequoia 15.7
Browser (if applicable)
Firefox 146 Nightly, Safari 26 (20622.1.22.118.2)
Confirmation
README.md.Expected Behavior
When using HTTP header authentication, reading the display name from
$WEBUI_AUTH_TRUSTED_NAME_HEADERshould not garble Unicode input in the interface, such as names with umlaut characters (e.g.Löhr).Actual Behavior
Names with non-ascii characters are garbled and appear like this, throughout the UI:
Steps to Reproduce
Run Open-WebUI with header based authentication by setting the following environment variables:
Make a request with
X-User-Nameset to a name with unicode characters. The users name in the UI (sidebar and user list) will be garbled.Logs & Screenshots
Here's a snippet of the logs from the docker container, I can see no issues logged (I have redacted the email and IP addresses), the browser logs also show nothing:
Additional Information
Changing the name in the UI after logging in for the first time works, and the change is permanent, so I'd assume there's something happening in the header parsing. #13201 is potentially related.
@tlhr commented on GitHub (Nov 21, 2025):
Seems like there was a PR for this issue (#18646)
@tjbck commented on GitHub (Nov 21, 2025):
b4c4d9baf5