mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
Update WebSocketSharpRequest.cs
This commit is contained in:
parent
0676d1c2f4
commit
b61ee09a36
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ namespace Emby.Server.Implementations.SocketSharp
|
||||||
private static string GetQueryStringContentType(HttpRequest httpReq)
|
private static string GetQueryStringContentType(HttpRequest httpReq)
|
||||||
{
|
{
|
||||||
ReadOnlySpan<char> format = httpReq.Query["format"].ToString();
|
ReadOnlySpan<char> format = httpReq.Query["format"].ToString();
|
||||||
if (formatStr == ReadOnlySpan<char>.Empty)
|
if (format == ReadOnlySpan<char>.Empty)
|
||||||
{
|
{
|
||||||
const int FormatMaxLength = 4;
|
const int FormatMaxLength = 4;
|
||||||
ReadOnlySpan<char> pi = httpReq.Path.ToString();
|
ReadOnlySpan<char> pi = httpReq.Path.ToString();
|
||||||
|
|
Loading…
Reference in a new issue