mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Be able to handle long file extensions (#12375)
* 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
This commit is contained in:
1
spec/fixtures/images/fake.long-FileExtension
vendored
Normal file
1
spec/fixtures/images/fake.long-FileExtension
vendored
Normal file
@@ -0,0 +1 @@
|
||||
https://meta.discourse.org/t/uploading-files-with-longer-file-extensions-gets-truncated/182824
|
||||
Reference in New Issue
Block a user