From 37326a80993346c66e2f562677bf9ccd43d581b5 Mon Sep 17 00:00:00 2001 From: BaronGreenback Date: Mon, 7 Jun 2021 16:22:28 +0100 Subject: [PATCH] Update Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs Co-authored-by: Claus Vium --- Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs b/Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs index 91d2ce124..b3b3b391e 100644 --- a/Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs +++ b/Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs @@ -55,7 +55,7 @@ namespace Jellyfin.Server.Middleware // Unencode and re-parse querystring. var unencodedKey = HttpUtility.UrlDecode(key); - if (string.Equals(unencodedKey, kvp.Key, System.StringComparison.Ordinal)) + if (string.Equals(unencodedKey, key, System.StringComparison.Ordinal)) { // Don't do anything if it's not encoded. _store = value;