Re: Checking whether a file is a genuine PDF file
Re: Checking whether a file is a genuine PDF file
- Subject: Re: Checking whether a file is a genuine PDF file
- From: Charles Srstka <email@hidden>
- Date: Mon, 5 Oct 2009 20:52:25 -0500
On Oct 5, 2009, at 8:30 PM, Graham Cox wrote:
Most people would draw it with a simple check of the extension and
maybe for files that traditionally have been subject to extension
abuse (I don't think pdf is one of them)
Well, in this day and age I believe you should actually be checking
the UTI rather than the extension.
Charles
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden