Explorar el Código

Update Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
BaronGreenback hace 4 años
padre
commit
ada052fcb1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs

+ 1 - 1
Jellyfin.Server/Middleware/UrlDecodeQueryFeature.cs

@@ -53,7 +53,7 @@ namespace Jellyfin.Server.Middleware
                 }
 
                 // Unencode and re-parse querystring.
-                var unencodedKey = HttpUtility.UrlDecode(kvp.Key);
+                var unencodedKey = HttpUtility.UrlDecode(key);
 
                 if (string.Equals(unencodedKey, kvp.Key, System.StringComparison.Ordinal))
                 {