Content
View differences
Updated by Klaus Zanders 5 months ago
### Before filing a report
_Before you file a report, please ensure you are running the latest version of OpenProject and_
_have searched for similar bug reports._
### Steps to reproduce
_Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_
1. Create an SVG file using `.png` extension.
2. Upload it as an attachment. `.svg` extension
### What is the buggy behavior?
_Please describe the bug in as much detail as possible. Example:_
* The mime type narrowing allows `image/X` to be interpreted as `image/png` based on the file extension
### What is the expected behavior?
_Describe how the application should behave like. Example:_
1. SVG files should not be interpreted as another image format, as it's not inlineable
_Before you file a report, please ensure you are running the latest version of OpenProject and_
_have searched for similar bug reports._
###
_Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_
1. Create an SVG file using `.png` extension.
2. Upload it as an attachment.
### What is the buggy behavior?
_Please describe the bug in as much detail as possible. Example:_
* The mime type narrowing allows `image/X` to be interpreted as `image/png` based on the file extension
### What is the expected behavior?
_Describe how the application should behave like. Example:_
1. SVG files should not be interpreted as another image format, as it's not inlineable