Commit Graph

2 Commits (cdf2ee08c12fb3b53cea5c83fdf0f094d950f911)

Author SHA1 Message Date
Raphaël Vinot 2e2cdbeb7e fix: Test on macosx
Fix #630
2020-09-16 12:07:58 +02:00
Troy Ross 17ebfe86ab Previously file object was reporting the libmagic description of a file
instead of the mimetype. According to [MISP DataModels](https://www.misp-project.org/datamodels/#types)
```
mime-type: A media type (also MIME type and content type) is a two-part identifier for file formats and format contents transmitted on the Internet
```
more precisely defined in [RFC2045](https://tools.ietf.org/html/rfc2045) and others.

The description returned by libmagic is more useful than the generic mime-type,
but I did not find a place to put the description in the current data model.
2020-06-14 10:48:29 -06:00