mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 00:37:06 +08:00
44153cde18
* FIX: Be able to handle long file extensions Some applications have really long file extensions, but if we truncate them weird behavior ensues. This commit changes the file extension size from 10 characters to 255 characters instead. See: https://meta.discourse.org/t/182824 * Keep truncation at 10, but allow uppercase and dashes |
||
---|---|---|
.. | ||
vanilla_import | ||
animated.gif | ||
animated.webp | ||
cropped.png | ||
custom-theme-icon-sprite.svg | ||
downsized.png | ||
fake.jpg | ||
fake.long-FileExtension | ||
fake.not_image | ||
huge.jpg | ||
image_no_extension | ||
image.svg | ||
large_and_unoptimized.png | ||
large_icon_correct.png | ||
large_icon_incorrect.png | ||
logo-dev.png | ||
logo.jpg | ||
logo.png | ||
not_an_image | ||
pencil.svg | ||
png_as.bin | ||
pngquant.png | ||
resized.png | ||
should_be_jpeg.heic | ||
should_be_jpeg.png | ||
smallest.ico | ||
smallest.png | ||
svg.png | ||
tiff_as.bin | ||
webp_as.bin |