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
371f8629b1
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

@@ -76,7 +76,7 @@ namespace Jellyfin.Server.Middleware
                         continue;
                     }
 
-                    pairs.Add(pair[0..i].ToString(), new StringValues(pair[(i + 1)..].ToString()));
+                    pairs.Add(pair[..i].ToString(), new StringValues(pair[(i + 1)..].ToString()));
                 }
 
                 _store = new QueryCollection(pairs);