My guess is somehow "Inline" and "Attachment" have been switched around so that setting the content disposition as "Inline" makes it open as an attachment and vice versa. Is there something I can do to change it so they behave as they should? I have over 100 PDFs set up this way on my site and I’d rather not have to go in to each one individually and change the content disposition.
Thank you so much,
Kahli
Hi, i can absolutely confirm this. i got pdf-downloads as attachment with static recources to work in 2.0.4. Content-Type: PDF, Content-Disposition: Attachment (PDF as application/pdf, binary checked).
my site was hacked 2 weeks ago (code injection on all index-files), so i upgraded to 2.0.7
after this upgrade i had to uncheck "binary", since large PDF-files resulted in a server-timeout when clicking those downloads. so i switched back to binary, but then all my static recources with pdf-downloads are opened in the browser instead of downloaded and i don’t want to change all 600 as a bugfix.
sincerely