mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4116] [MERGED] Add Known Proxies to system configuration #9891
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/4116
Author: @cvium
Created: 9/10/2020
Status: ✅ Merged
Merged: 9/10/2020
Merged by: @Bond-009
Base:
master← Head:add_known_proxies📝 Commits (3)
78cab77Add Known Proxies to system configuration7576824Standardize use of IsLocal and RemoteIpcb173d7Fix the test📊 Changes
15 files changed (+65 additions, -68 deletions)
View changed files
📝
Emby.Server.Implementations/HttpServer/Security/SessionContext.cs(+1 -1)📝
Jellyfin.Api/Auth/BaseAuthorizationHandler.cs(+2 -1)📝
Jellyfin.Api/Controllers/MediaInfoController.cs(+2 -1)📝
Jellyfin.Api/Controllers/SystemController.cs(+3 -2)📝
Jellyfin.Api/Controllers/UniversalAudioController.cs(+2 -1)📝
Jellyfin.Api/Controllers/UserController.cs(+11 -10)📝
Jellyfin.Api/Helpers/DynamicHlsHelper.cs(+5 -5)📝
Jellyfin.Api/Helpers/MediaInfoHelper.cs(+2 -1)📝
Jellyfin.Api/Helpers/RequestHelpers.cs(+2 -6)📝
Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs(+11 -2)📝
Jellyfin.Server/Middleware/IpBasedAccessValidationMiddleware.cs(+2 -2)📝
Jellyfin.Server/Middleware/ResponseTimeMiddleware.cs(+2 -1)📝
Jellyfin.Server/Startup.cs(+2 -1)📝
MediaBrowser.Common/Extensions/HttpContextExtensions.cs(+12 -34)📝
MediaBrowser.Model/Configuration/ServerConfiguration.cs(+6 -0)📄 Description
For X-Forwarded-For to make sense it must be configured with a list of known proxies.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.