mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
-fix split on comma and double quotes
This commit is contained in:
parent
305e5ebaf4
commit
b611a108f8
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user