mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-31 04:48:27 +01:00
remove leading and trailing whitespace from the key
This commit is contained in:
@@ -291,7 +291,7 @@ namespace Jellyfin.Server.Implementations.Security
|
||||
}
|
||||
else if (!escaped && token == '=')
|
||||
{
|
||||
key = authorizationHeader[start.. i].ToString();
|
||||
key = authorizationHeader[start.. i].Trim().ToString();
|
||||
start = i + 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user