Re: -[NSURL path] "If the path has a trailing slash it is stripped"
Re: -[NSURL path] "If the path has a trailing slash it is stripped"
- Subject: Re: -[NSURL path] "If the path has a trailing slash it is stripped"
- From: Jerry Krinock <email@hidden>
- Date: Mon, 09 Apr 2012 17:05:47 -0700
On 2012 Apr 09, at 16:07, Mike Abdullah wrote:
> The docs are incorrect about the escaping behaviour (and used to be for CFURLCopyPath too); both functions do not do escaping <rdar://problem/10561176>
Ah, I was reading Xcode 3 documentation.
In current documentation, CFURLCopyStrictPath() still has the ambiguity, but CFURLCopyPath() has been corrected. It says, unambiguously, "nor does it replace percent escape sequences".
So, yes I agree with you Mike – I presume that your rdar is against the *documentation* of CFURLCopyStrictPath(). The *behavior* of both CFURLCopyStrictPath() and CFURLCopyPath() is correct. At least, it's what I want :)
_______________________________________________
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