protected PDF files: always download instead of opening in Chrome browser
-
When accessing a protected PDF file with Chrome browser, and Chrome browser setting “Settings > Privacy and security > Site settings >Additional content settings > PDF documents” is set to “Open PDF in Chrome”, the Chrome File Save dialog is triggered instead of opening the PDF in Chrome.
This seems to be for 2 reasons. In mv-file-handler.php:
- Content-type is set to application/octet-stream instead of application/pdf
- Content-Disposition is set to attachment instead of inline
Does anyone know why?
- The topic ‘protected PDF files: always download instead of opening in Chrome browser’ is closed to new replies.