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:11 +01:00 committed by GitHub
parent 371f8629b1
commit c1fa7cbbf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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