Skip to content

fix(image): handle long filenames on macOS with hash#2604

Open
syltharion wants to merge 1 commit intofolke:mainfrom
syltharion:fix(image)
Open

fix(image): handle long filenames on macOS with hash#2604
syltharion wants to merge 1 commit intofolke:mainfrom
syltharion:fix(image)

Conversation

@syltharion
Copy link

Description

On macOS, file names longer than 255 characters are not supported. This change checks if the source file name exceeds this limit and, if so, uses a hash of the source and page as the cache file name. This prevents errors when dealing with very long file names.
hange checks if the source file name exceeds this limit and, if so, uses a hash of the source and page as the cache file name. This prevents errors when dealing with very long file names.

Related issue

#2506

Screenshots

image

On macOS, file names longer than 255 characters are not supported. This
change checks if the source file name exceeds this limit and, if so,
uses a hash of the source and page as the cache file name. This prevents
errors when dealing with very long file names.
hange checks if the source file name exceeds this limit and, if so,
uses a hash of the source and page as the cache file name. This prevents
errors when dealing with very long file names.
@github-actions github-actions bot added image size/s Small PR (<10 lines changed) labels Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

image size/s Small PR (<10 lines changed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant