Aneesh Gopalakrishnan
Aneesh Gopalakrishnan
@Paul75 Also, can you send me the file you are trying with?
@Halfist Will update underlying pdf.js file. This is definitely a bug at PDFJS end. A newer version shouldhave fixed this
@vrevanna As of now, pdf is loaded in an iframe with an http get request. Let me look into this if custom headers can be added
@vrevanna Check these out https://stackoverflow.com/questions/13432821/is-it-possible-to-add-request-headers-to-an-iframe-src-request https://stackoverflow.com/questions/17694807/how-to-set-custom-http-headers-when-changing-iframe-src/17695034#17695034
@SiposGergo Would you be able to try this in PDFJs's demo page and report the results? https://mozilla.github.io/pdf.js/web/viewer.html
Seems to be an issue with pdfjs - https://github.com/mozilla/pdf.js/issues/8849 Will check and see if a new version is available with the fix.
@orochies Will update this soon.
@certifirm Good suggestion - Will look into this
@Javaluca @JavaAngularVV Verified it works on latest Edge(chromium based) @JavaAngularVV : Your specific issue is reported here against angular. A workaround is suggested: https://github.com/angular/angular-cli/issues/5762 @Javaluca : I found this. Seems...
I found the cause of this issue Aspnet core does not honor webserver->staticcontent->mimetypes as described in these posts. In short, static file requests in this case does not reach IIS...