fkie-cad / fact_helper_file

File type helper functions and magic library
GNU General Public License v3.0
3 stars 8 forks source link

bugfix: ar archive mime should not match debian archives #29

Closed jstucke closed 1 year ago

jstucke commented 1 year ago

the new ar archive definition was erroneously matching Debian package archives (.deb) which led to the MIME being application/x-archive. This in turn resulted in the file is not being correctly unpacked by the extractor.

This PR introduces a regex for application/x-archive which excludes Debian packages.