louketo / louketo-proxy

A OpenID / Proxy service
Apache License 2.0
950 stars 343 forks source link

Non-ASCII HTTP headers are not encoded #664

Open zygon4 opened 4 years ago

zygon4 commented 4 years ago

Non-ASCII HTTP headers are not encoded

Summary

Specifically we set up a username in Keycloak with a non-ASCII name and the X-Auth-Username header that Louketo injects is not correct.

Environment

Version of everything that is running in your environment:

Expected Results

Encoded HTTP Header for non-ASCII values.

Actual Results

Header is incorrect.