Explorar o código

Update Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
BaronGreenback %!s(int64=4) %!d(string=hai) anos
pai
achega
37326a8099
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs

+ 1 - 1
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;