Re: MIME types
Reply #1 –
Yep. Definitely a bug ... had to fix that while importing Ruth's forum. finfo_file() seems to be the proper function.
Re: MIME types
Reply #2 –
Looks like to be able to store anything valid would be considered valid it needs to be 255. The spec allows 127 characters (recommends no more than 64) on each side of the /
Re: MIME types
Reply #6 –
Just go with 255. There is no reason not to. The size of the column doesn't change.
Re: MIME types
Reply #7 –
I think getting all of the IANA Media Types is something a mod might be better suited for. I'd say it should recognize all of the major: image types (png, bmp, jpg, gif), video types (mov, mp4, etc.), text types (txt, html, csv), MS Office document types (not the templates), and archive (zip, tar, gz, etc.) types by default.