mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-15 21:43:03 +03:00
Update WebSocketSharpRequest.cs
This commit is contained in:
@@ -209,7 +209,7 @@ namespace Emby.Server.Implementations.SocketSharp
|
||||
private static string GetQueryStringContentType(HttpRequest httpReq)
|
||||
{
|
||||
ReadOnlySpan<char> format = httpReq.Query["format"].ToString();
|
||||
if (formatStr == ReadOnlySpan<char>.Empty)
|
||||
if (format == ReadOnlySpan<char>.Empty)
|
||||
{
|
||||
const int FormatMaxLength = 4;
|
||||
ReadOnlySpan<char> pi = httpReq.Path.ToString();
|
||||
|
||||
Reference in New Issue
Block a user