[PR #6404] [MERGED] Fix redirect logic if request path is exactly the base url #10948

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/6404
Author: @crobibero
Created: 8/7/2021
Status: Merged
Merged: 8/8/2021
Merged by: @Bond-009

Base: masterHead: redirect-base-url


📝 Commits (2)

  • a7585dd Fix redirect logic if request path is exactly the base url
  • bdbac12 Update Jellyfin.Server/Middleware/BaseUrlRedirectionMiddleware.cs

📊 Changes

1 file changed (+5 additions, -2 deletions)

View changed files

📝 Jellyfin.Server/Middleware/BaseUrlRedirectionMiddleware.cs (+5 -2)

📄 Description

Fixes server not redirecting when the path is exactly /basePath or /basePath/


🔄 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/6404 **Author:** [@crobibero](https://github.com/crobibero) **Created:** 8/7/2021 **Status:** ✅ Merged **Merged:** 8/8/2021 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `master` ← **Head:** `redirect-base-url` --- ### 📝 Commits (2) - [`a7585dd`](https://github.com/jellyfin/jellyfin/commit/a7585dd2d65895620ab82973c9cd72991b5ed38b) Fix redirect logic if request path is exactly the base url - [`bdbac12`](https://github.com/jellyfin/jellyfin/commit/bdbac12d4f35bf47e75ed25c7bb10c0074e4f4ce) Update Jellyfin.Server/Middleware/BaseUrlRedirectionMiddleware.cs ### 📊 Changes **1 file changed** (+5 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Server/Middleware/BaseUrlRedirectionMiddleware.cs` (+5 -2) </details> ### 📄 Description Fixes server not redirecting when the path is exactly `/basePath` or `/basePath/` --- <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:29:42 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10948