You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
++, i think this is causing problem on PDFs that redirect to an HTML page for auth (ex: in slack)
this may be fixed by taking out the setPDFLocation calls in js/stores/windowStore.js, which are a workaround for PDFs not loading at all unless they fire an Electron navigation event
I just noticed that pdfjs was systematically called on any URL ending with
.pdf
, such as http://sdfgsdfgsd.com/test.pdf (which doesn't exist) or https://github.com/Intel-Media-SDK/samples/blob/master/samples/sample_decode/readme-decode_linux.pdf (which returns HTML content, not readable by a PDF reader). I think that pdfsj should be called regarding the response MIME type (application/pdf
for PDF) and not how the URL is ending..pdf
The text was updated successfully, but these errors were encountered: