Downloading MSI files shows content in browser
Created by: MensSana
Summary
Downloading a MSI file from the Files tab shows file content in web browser
Steps to reproduce
- Add any MSI file, commit and push the project to your GitLab instance
- Navigate to the file under Files tab on your GitLab instance
- Click on Download
Expected behavior
The file is downloading as would any binary file
Observed behavior
The file is displayed (mime-type=text/plain) in the browser as would be a text file Chrome tells me its mime-type is text/plain.
Possible fix
Add a mime-type for .msi as application/octet-stream
Personnal Request
Please tell me how to do so, so I can do it without bugging you guys...