[PR #4116] [MERGED] Add Known Proxies to system configuration #9891

Closed
opened 2026-02-07 06:10:18 +03:00 by OVERLORD · 0 comments
Owner

📋 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: masterHead: add_known_proxies


📝 Commits (3)

  • 78cab77 Add Known Proxies to system configuration
  • 7576824 Standardize use of IsLocal and RemoteIp
  • cb173d7 Fix 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.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/4116 **Author:** [@cvium](https://github.com/cvium) **Created:** 9/10/2020 **Status:** ✅ Merged **Merged:** 9/10/2020 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `master` ← **Head:** `add_known_proxies` --- ### 📝 Commits (3) - [`78cab77`](https://github.com/jellyfin/jellyfin/commit/78cab77f819e8d8b283f95f2e48f635bcf66fea5) Add Known Proxies to system configuration - [`7576824`](https://github.com/jellyfin/jellyfin/commit/7576824cee0dc0d8e1729ae0a7e8e4f256b71efd) Standardize use of IsLocal and RemoteIp - [`cb173d7`](https://github.com/jellyfin/jellyfin/commit/cb173d79e6f0c192be88eb6466d9cd52a9ee0e46) Fix the test ### 📊 Changes **15 files changed** (+65 additions, -68 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description For X-Forwarded-For to make sense it must be configured with a list of known proxies. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:10:18 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#9891