Re: Sandboxing die.die.die
Re: Sandboxing die.die.die
- Subject: Re: Sandboxing die.die.die
- From: Mike Abdullah <email@hidden>
- Date: Sat, 25 Aug 2012 11:14:34 +0100
On 25 Aug 2012, at 09:09, Graham Cox <email@hidden> wrote:
>
> On 24/08/2012, at 10:35 PM, Mike Abdullah <email@hidden> wrote:
>
>> I’m surprised by this. The path-based APIs were seriously handling a path beginning with file:// in the way that you expect?
>
> Apparently so. This code was originally derived from Karelia's iMedia browser and I never had reason to look at it in detail until just now.
I had a funny feeling you were going to point the finger at us ;-)
Checked out the code, and I can assure you, iMedia is doing this:
NSURL* url = [NSURL URLWithString:library];
NSString* path = [url path];
Where library is a string retrieved from the prefs to note where a media library lives. I continue to be pretty sure no path-based APIs accept URL strings.
_______________________________________________
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