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:22:37 +01:00 committed by GitHub
parent 37326a8099
commit 147612f59b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ namespace Jellyfin.Server.Middleware
// Encoded querystrings have no value, so don't process anything if a value is present.
var (key, stringValues) = value.First();
if (!string.IsNullOrEmpty(kvp.Value))
if (!string.IsNullOrEmpty(stringValues))
{
_store = value;
return;