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

View file

@ -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))
{