For the virt-viewer project, we are hosting Windows installer binaries (.msi files) on pagure.io download space.
eg
https://releases.pagure.org/virt-viewer/virt-viewer-x86-6.0.msi
When users of Chrome / IE / Edge try to download these MSI files the browser just displays the raw binary bytes as if they were plain text.
Looking at the server headers sent by Pagure, I can see it is not reporting any Content-Type for these files, and at the same time it has enforced no-mime sniffing by setting "X-Content-Type-Options" header. This pretty much forces any compliant browser to treat it as plain text. Only firefox is still treating out MSI files as binaries to be downloaded.
Can you fix pagure so that it sends Content-Type: application/octet-stream for any MSI files, so they are treated as opaque binary downloads by browsers.
Metadata Update from @pingou: - Issue assigned to pingou
This is more likely an apache configuration issue.
I've requested a FBR to the infra list to address it: https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org/message/XJYTGCX3KW22U32BTUEP3VTZ4VLU5U3B/
Should be fixed in https://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=8e3b71d :)
(and curl -I seems to confirm it)
Metadata Update from @pingou: - Issue close_status updated to: Fixed
Thanks, that looks to work fine in Chrome now.