We should test the https://pypi.python.org/pypi/binaryornot/ library and see if its better than our current use of the `magic` standard library.
--- ** [tickets:#7962] Better binary file detection** **Status:** open **Milestone:** unreleased **Created:** Wed Aug 12, 2015 03:25 PM UTC by Heith Seewald **Last Updated:** Wed Aug 12, 2015 03:25 PM UTC **Owner:** nobody Improve our binary/text file detection. [here is an example](https://sourceforge.net/p/planetexpress/git/ci/ba49bf3d9b3185ea2b0dc5cb6f7a3f8a6781f0c4/) of a jpg with a ".d" extention that made it through the **has_html_view** function( `allura.model.repository.Blob#has_html_view`) Performance should be a primary consideration because of the large number of calls on bigger commits. --- Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.