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:28 +01:00 committed by GitHub
parent ada052fcb1
commit 37326a8099
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;