Topic details should show real filenames of attachments

(Gerhard Schlager) #1

Currently the topic details show links to the physical filename, which are kind of useless. Ideally the real filenames as used in the posts should be shown:

BTW: Can’t we store uploaded files with their real filenames? How about creating a directory with the hash of the file and storing it there with its real filename? In case of multiple uploads of the same file a symlink could be used. So, /uploads/try2_discourse/102/ec5829847a91b748.log would become /uploads/try2_discourse/102/ec5829847a91b748/mysqld.log. I guess that could solve lots of problems like
and it would remove the need for lightboxing all images

Feature request: Keep filenames for uploads