mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #15681] [MERGED] Fix symlinked file size #14384
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/15681
Author: @ivanjx
Created: 12/1/2025
Status: ✅ Merged
Merged: 12/4/2025
Merged by: @crobibero
Base:
release-10.11.z← Head:symlink-fix📝 Commits (4)
bdff13aFix symlink file size reading3650bddResolve symlinked file path before passing into PhysicalFileb271ef7Revert "Fix symlink file size reading"8310aeaKeep filename the same as symlinked path📊 Changes
1 file changed (+13 additions, -1 deletions)
View changed files
📝
Jellyfin.Api/Controllers/LibraryController.cs(+13 -1)📄 Description
Changes
this pr resolves real file path of symlinks before passing it into
PhysicalFile. without this,PhysicalFilewould get a symlinked path and returns the file size of the symlink itself rather than the actual file it points to.Issues
Fixes #15279
Fixes #15295
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.