gogatekeeper / gatekeeper

An OpenID / Proxy service
https://gogatekeeper.github.io/gatekeeper/
Apache License 2.0
266 stars 48 forks source link

The problem with non Latin (Cyrillic) fonts #446

Closed stilet closed 5 months ago

stilet commented 5 months ago

Title

The problem with non Latin (Cyrillic) fonts

Summary

The problem with Cyrillic fonts is in the names of groups or roles. For example, when naming a group (in Keycloak) as a Гарантум, the value in the x-auth-groups header ÐаÑанÑÑм. How can I fix it?

Environment

Expected Results

Actual Results

Steps to reproduce

Additional Information

p53 commented 5 months ago

https://stackoverflow.com/a/75998796

p53 commented 5 months ago

As you can see header values can contain only small subset of characters, only improvement I can make is to reject request if token fields which will be translated to headers will contain other characters than those allowed

stilet commented 5 months ago

Thanks! No changes are required. You can close the task.