I use your library with a Markdown parser by automatically adding LightBox attributes on links and image.
If the user upload a file, for example, a pdf, the link goes to a Content-Disposition: attachement response. So the library is supposed to just launch the download with the browser.
Instead, it's trying to show the PDF content:
More weird: I copy paste the link from the production website to my local to test it, and then the download works without any content on the box.
After some investigations, it seems the bug appear only if the FQDN of the link is the same as the FQDN of the website.
Browser name and version: Chrome (Linux) - 51.0.2704.84 (64-bit)
I use your library with a Markdown parser by automatically adding LightBox attributes on links and image.
If the user upload a file, for example, a pdf, the link goes to a
Content-Disposition: attachement
response. So the library is supposed to just launch the download with the browser.Instead, it's trying to show the PDF content:
More weird: I copy paste the link from the production website to my local to test it, and then the download works without any content on the box.
After some investigations, it seems the bug appear only if the FQDN of the link is the same as the FQDN of the website.
Browser name and version: Chrome (Linux) - 51.0.2704.84 (64-bit)
Please tell me if you need more information.