diff --git a/Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs b/Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs index 987c66da7..bcc79a5f2 100644 --- a/Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs +++ b/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);