Allow commas in auth values when wappred in a double quote

This commit is contained in:
Tommaso Stocchi 2020-12-14 13:14:18 +01:00
parent 13bc57ecc3
commit 305e5ebaf4

View File

@ -265,7 +265,7 @@ namespace Emby.Server.Implementations.HttpServer.Security
// Remove uptil the first space // Remove uptil the first space
authorizationHeader = parts[1]; authorizationHeader = parts[1];
parts = authorizationHeader.Split(','); parts = authorizationHeader.Split("\",\"");
var result = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); var result = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);