You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
If a user has non-ascii characters in their name, the service will throw an exception when trying to add the name claim to response headers in AddResponseHeadersFromClaims.
System.InvalidOperationException: 'Invalid non-ASCII or control character in header: 0x00F6'
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpHeaders.ThrowInvalidHeaderCharacter(Char ch)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpHeaders.ValidateHeaderValueCharacters(StringValues headerValues)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpResponseHeaders.AddValueFast(String key, StringValues value)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpHeaders.System.Collections.Generic.IDictionary<System.String,Microsoft.Extensions.Primitives.StringValues>.Add(String key, StringValues value)
at OCP.Msal.Proxy.Web.Controllers.AuthController.AddResponseHeadersFromClaims(IEnumerable`1 claims, IHeaderDictionary headers) in C:\Users\x\src\EasyAuthForK8s\OCP.Msal.Proxy.Web\Controllers\AuthController.cs:line 111
The text was updated successfully, but these errors were encountered:
If a user has non-ascii characters in their name, the service will throw an exception when trying to add the name claim to response headers in
AddResponseHeadersFromClaims
.The text was updated successfully, but these errors were encountered: