mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 08:21:39 -06:00
efd3c9f487
Truncate long path segments generated during upload pattern resolution and download filename generation to prevent ENAMETOOLONG errors. Keep the file extension and suffix of the segment, and use a deterministic hash of the original segment to ensure unique truncations. Closes #549