When adding a PDF as attachment to a page, the content type of the attachment is usually set to application/pdf. However, sometimes it is set to application/force-download. In this case, the document is not displayed by the browser, the document is downloaded instead. It has to be changed to application/pdf manually to work as expected.
Does anyone know, how the content type for uploaded attachments is determined?
I hope you are using Firefox!
It seems to be a browser problem acording to the following similar references:
I do think there is a FireFox issue playing some role:
FireFox returns "application/force-download" where Chrome and Safari both return "application/pdf"
Alright, this seems to be a Firefox "bug" (at least I'll refer to it as a bug, the developers don't) discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=373621
You could try to use another browser to confirm that.
Daniel P Santos
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG