[drupal-devel] uploading patches

Dries Buytaert dries at buytaert.net
Sun Jan 30 17:46:26 UTC 2005


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/



More information about the drupal-devel mailing list