mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-06 06:05:52 +00:00
Target net6.0
This commit is contained in:
1 parent
1ebd3c9ac3
commit
13fbfe6091
56 files changed
+103
-90
No files matched your search
@@ -27,7 +27,11 @@ namespace Jellyfin.Server.Middleware
|
||||
/// <returns>The async task.</returns>
|
||||
public async Task Invoke(HttpContext httpContext)
|
||||
{
|
||||
httpContext.Features.Set<IQueryFeature>(new UrlDecodeQueryFeature(httpContext.Features.Get<IQueryFeature>()));
|
||||
var feature = httpContext.Features.Get<IQueryFeature>();
|
||||
if (feature != null)
|
||||
{
|
||||
httpContext.Features.Set<IQueryFeature>(new UrlDecodeQueryFeature(feature));
|
||||
}
|
||||
|
||||
await _next(httpContext).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user