Update Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
pull/5990/head
BaronGreenback 4 years ago committed by GitHub
parent cc2166550f
commit e1a0b5d2a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save