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

@ -53,7 +53,7 @@ namespace Jellyfin.Server.Middleware
} }
// Unencode and re-parse querystring. // 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)) if (string.Equals(unencodedKey, kvp.Key, System.StringComparison.Ordinal))
{ {

Loading…
Cancel
Save