Files
paperless-ngx/src/documents
Trenton H 183cfd2da4 Fix: keep counter and extension when shortening long public filenames (#14472)
get_public_filename relied on sanitize_filename to truncate, which cuts
from the end and so dropped the counter and extension of long titles.
Multi-byte titles could also exceed the 255 byte filesystem limit.

Shorten the title by UTF-8 bytes before appending the counter and
extension. The exporter reserves room for its longer derived thumbnail
and archive suffixes.
2026-10-16 10:11:34 -07:00
..
2026-09-01 07:56:38 -07:00
2026-05-26 16:46:23 +00:00
2026-09-01 07:56:38 -07:00
2026-05-20 08:54:00 -07:00