On 9 May 2012 14:46, waldo kitty <[email protected]> wrote: > > wouldn't it be better to use mimemagic instead of relying on the file's > extension? > > i can easily name foo.gif as foo.txt and those systems that do properly look
+1 Windows and Mac OS X fails that test. Linux rules in that regards. :) Side note: Sad thing is, I believe Mac OS 9 and earlier used to use mimemagic, but with OS X they simply look at the file extension - dumb move. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
