Add configuration option to serve local PDF uploads inline

Our incoming communication (via email) is heavily dependent on PDFs.

Current behaviour of discourse is to serve this files as download only.

What risks do you see adding a configuration option, which set content-disposition: inline for PDFs or maybe also other file formats?

1 Like