On 9 Apr 2012, at 21:15, Charles Srstka wrote: > On Apr 9, 2012, at 3:10 PM, Jens Alfke wrote: > >> >> On Apr 9, 2012, at 10:23 AM, Jerry Krinock wrote: >> >>> Thank you Ken. Indeed, CFURLCopyPath() gives the complete path, as >>> specified in RFC 3986! >> >> There are some other differences too. Like, CFURLCopyPath doesn't interpret >> %-escapes in the path while -path does. > > I think you can get -path’s behavior at the CF layer by using > CFURLCopyStrictPath instead of CFURLCopyPath.
You cannot. The docs are incorrect about the escaping behaviour (and used to be for CFURLCopyPath too); both functions do not do escaping <rdar://problem/10561176> _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com