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 371f8629b1
commit c1fa7cbbf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -45,7 +45,7 @@ namespace Jellyfin.Server.Middleware
} }
// Encoded querystrings have no value, so don't process anything if a value is present. // 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)) if (!string.IsNullOrEmpty(kvp.Value))
{ {
_store = value; _store = value;

Loading…
Cancel
Save