30 Jan
2005
30 Jan
'05
6:46 p.m.
It looks like some people are uploading patches with the wrong mime-type (eg. when uploading patches with '.inc' in the filename). mysql> SELECT DISTINCT(file_mime), COUNT(file_mime) AS count FROM project_comments WHERE (file_path LIKE '%patch' OR file_path LIKE '%diff') GROUP BY file_mime; +--------------------------+-------+ | file_mime | count | +--------------------------+-------+ | application/octet-stream | 370 | | text/plain | 44 | | text/x-diff | 30 | | text/x-patch | 103 | | www/unknown | 4 | +--------------------------+-------+ -- Dries Buytaert :: http://www.buytaert.net/