Explorar o código

Update Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
BaronGreenback %!s(int64=4) %!d(string=hai) anos
pai
achega
c1fa7cbbf8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs

+ 1 - 1
Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs

@@ -45,7 +45,7 @@ namespace Jellyfin.Server.Middleware
                 }
 
                 // Encoded querystrings have no value, so don't process anything if a value is present.
-                var kvp = value.First();
+                var (key, stringValues) = value.First();
                 if (!string.IsNullOrEmpty(kvp.Value))
                 {
                     _store = value;