Attachments PDF,doc,etc


#1

When I upload soemtbkng other than an image in issues, there is no default picture for PDF,txt, etc.

Also when I click to open / download there is no extension. Just a UUID.

Any solution?


#2

The “attachments” on issue and comments are meant to be images originally, currently no solution for other types…


#3

Are there are any changes?

For example

[attachment]
ALLOWED_TYPES = image/jpeg|image/png|application/gzip|application/zip|application/x-7z-compressed

works fine for images, but not for archives.

gogs v0.11.66.0916


#4

It’s been three years, maybe not.