[PR #15209] [MERGED] Improve symlink handling #14253

Closed
opened 2026-02-07 07:26:53 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/15209
Author: @Shadowghost
Created: 10/25/2025
Status: Merged
Merged: 10/27/2025
Merged by: @crobibero

Base: release-10.11.zHead: better-symlink-handling


📝 Commits (2)

📊 Changes

4 files changed (+27 additions, -185 deletions)

View changed files

📝 Emby.Server.Implementations/IO/ManagedFileSystem.cs (+20 -27)
📝 Emby.Server.Implementations/Library/DotIgnoreIgnoreRule.cs (+7 -2)
Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs (+0 -151)
📝 Jellyfin.Server/Startup.cs (+0 -5)

📄 Description

Changes

  • Use fileInfo.LinkTarget for symlink checks
  • Use fileInfoe.ResolveLinkTarget to get the actual file

Issues
Fixes #14899


🔄 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/15209 **Author:** [@Shadowghost](https://github.com/Shadowghost) **Created:** 10/25/2025 **Status:** ✅ Merged **Merged:** 10/27/2025 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `release-10.11.z` ← **Head:** `better-symlink-handling` --- ### 📝 Commits (2) - [`d1e72e7`](https://github.com/jellyfin/jellyfin/commit/d1e72e7eaec1f16cd6bda66507c9b4ec69fdfdab) Improve symlink handling - [`f2e11c0`](https://github.com/jellyfin/jellyfin/commit/f2e11c0b19a5d5afc003a7cb29ba04a674b012fc) Fixes ### 📊 Changes **4 files changed** (+27 additions, -185 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/IO/ManagedFileSystem.cs` (+20 -27) 📝 `Emby.Server.Implementations/Library/DotIgnoreIgnoreRule.cs` (+7 -2) ➖ `Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs` (+0 -151) 📝 `Jellyfin.Server/Startup.cs` (+0 -5) </details> ### 📄 Description **Changes** * Use `fileInfo.LinkTarget` for symlink checks * Use `fileInfoe.ResolveLinkTarget` to get the actual file **Issues** Fixes #14899 --- <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 07:26:53 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#14253