[PR #4713] [MERGED] Redirect robots.txt if hosting web content #10059

Closed
opened 2025-12-22 07:49:43 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/4713
Author: @crobibero
Created: 12/7/2020
Status: Merged
Merged: 12/13/2020
Merged by: @cvium

Base: masterHead: robots


📝 Commits (3)

  • d65e8d7 Redirect robots.txt if hosting web content
  • b66abf0 Add support back for /emby and /mediabrowser routes
  • 69d5810 Use a more descriptive middleware name

📊 Changes

4 files changed (+128 additions, -0 deletions)

View changed files

📝 Jellyfin.Server/Extensions/ApiApplicationBuilderExtensions.cs (+23 -0)
Jellyfin.Server/Middleware/LegacyEmbyRouteRewriteMiddleware.cs (+54 -0)
Jellyfin.Server/Middleware/RobotsRedirectionMiddleware.cs (+47 -0)
📝 Jellyfin.Server/Startup.cs (+4 -0)

📄 Description

Fixes https://github.com/jellyfin/jellyfin/issues/4689

Redirects {baseUrl}/robots.txt to {baseUrl}/web/robots.txt


🔄 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/4713 **Author:** [@crobibero](https://github.com/crobibero) **Created:** 12/7/2020 **Status:** ✅ Merged **Merged:** 12/13/2020 **Merged by:** [@cvium](https://github.com/cvium) **Base:** `master` ← **Head:** `robots` --- ### 📝 Commits (3) - [`d65e8d7`](https://github.com/jellyfin/jellyfin/commit/d65e8d70442ecc2c03372abf5f81c65c6ab189a6) Redirect robots.txt if hosting web content - [`b66abf0`](https://github.com/jellyfin/jellyfin/commit/b66abf0556802f2278acdfed9fb5d4292cd3f122) Add support back for /emby and /mediabrowser routes - [`69d5810`](https://github.com/jellyfin/jellyfin/commit/69d581033b227c38cf810d4943aebe9aa421e33a) Use a more descriptive middleware name ### 📊 Changes **4 files changed** (+128 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Server/Extensions/ApiApplicationBuilderExtensions.cs` (+23 -0) ➕ `Jellyfin.Server/Middleware/LegacyEmbyRouteRewriteMiddleware.cs` (+54 -0) ➕ `Jellyfin.Server/Middleware/RobotsRedirectionMiddleware.cs` (+47 -0) 📝 `Jellyfin.Server/Startup.cs` (+4 -0) </details> ### 📄 Description Fixes https://github.com/jellyfin/jellyfin/issues/4689 Redirects `{baseUrl}/robots.txt` to `{baseUrl}/web/robots.txt` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 07:49:43 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#10059
No description provided.