mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 12:58:11 -05:00
[GH-ISSUE #14530] issue: incorrect user name encoding after Trusted Header Auth sign up #55958
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 @theuargb on GitHub (May 30, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14530
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.10
Ollama Version (if applicable)
No response
Operating System
Windows
Browser (if applicable)
Chrome
Confirmation
README.md.Expected Behavior
Non-ascii characters supported for users signed up with Trusted Headers
Actual Behavior
If the trusted header "name" is cyrrylic - OpenWebUI user name is broken, but account works fine overall
Steps to Reproduce
Logs & Screenshots
Additional Information
No response
@tjbck commented on GitHub (Jun 8, 2025):
HTTP headers officially only support ASCII as per the HTTP standards, so non-ASCII names (like Cyrillic) aren’t supported by spec by default, hence the issue. PR welcome if you want to add optional Base64 (for encoding and decoding non-ascii chars) support, but we won't officially support it as it’s against the HTTP standard.
@theuargb commented on GitHub (Jun 8, 2025):
hi @tjbck
thank you for the reply
traefik/whoami, which I use to test headers, supports them in cyrrylics somehow without me base64encoding them before.if I understood you correctly you proposing to manually base64 them on the authenicator side and then decode inside the openwebui?
@tjbck commented on GitHub (Jun 8, 2025):
Yes, sounds about right!