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:15 +01:00 committed by GitHub
parent cc2166550f
commit e1a0b5d2a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ namespace Jellyfin.Server.Middleware
if (i == -1)
{
// encoded is an equals.
pairs.Add(pair[0..i].ToString(), new StringValues(string.Empty));
pairs.Add(pair[..i].ToString(), StringValues.Empty);
continue;
}