Update Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
BaronGreenback 2021-06-07 16:21:47 +01:00 committed by GitHub
parent 133ce65e28
commit 371f8629b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);