mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 19:08:53 -07:00
Added UrlDecode for authorization parts
This commit is contained in:
parent
a03880b687
commit
452af30511
@ -309,7 +309,7 @@ namespace Emby.Server.Implementations.HttpServer.Security
|
|||||||
// Meeting a comma after a closing escape char means the value is complete
|
// Meeting a comma after a closing escape char means the value is complete
|
||||||
if (start < i)
|
if (start < i)
|
||||||
{
|
{
|
||||||
result.Add(authtorizationHeader[start..(i)]);
|
result.Add(WebUtility.UrlDecode(authtorizationHeader[start..(i)]));
|
||||||
}
|
}
|
||||||
|
|
||||||
start = i + 1;
|
start = i + 1;
|
||||||
@ -322,7 +322,7 @@ namespace Emby.Server.Implementations.HttpServer.Security
|
|||||||
// Add last value
|
// Add last value
|
||||||
if (start < i)
|
if (start < i)
|
||||||
{
|
{
|
||||||
result.Add(authtorizationHeader[start..(i)]);
|
result.Add(WebUtility.UrlDecode(authtorizationHeader[start..(i)]));
|
||||||
}
|
}
|
||||||
|
|
||||||
return result.ToArray();
|
return result.ToArray();
|
||||||
|
Loading…
Reference in New Issue
Block a user