mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #10787] Add limit on metadata pathlength (revised) #12611
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?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/10787
State: open
Merged: No
Changes
Modify BaseXmlSaver and BaseNfoSaver to prevent metadata directory of excessive length from being created. On Windows, extended-path notation ("\\?\") is used, and on Unix-like systems, the created directory is kept shorter than 255 characters (in-line with the most common Unix-like filesystem NAME_MAX value).
Notes
There are a couple of things to note about this changes:
Issues
#10780