Re: NSURL fileURLWithPath doesn't produce a valid URL
Re: NSURL fileURLWithPath doesn't produce a valid URL
- Subject: Re: NSURL fileURLWithPath doesn't produce a valid URL
- From: Kyle Sluder <email@hidden>
- Date: Fri, 31 Jul 2009 00:51:19 -0700
On Jul 31, 2009, at 12:34 AM, Alexander Bokovikov
<email@hidden> wrote:
where spath was the source string with "+" signs.
You need to be providing a valid URL here. That's a string containing
a URL, not a CFURLRef.
In my opinion, all codes since 0x20 to 0x2F require escaping. Am I
incorrect?
There is no opinion involved here. According to RFC 2396, + needs
escaping only within the querystring.
--Kyle Sluder
_______________________________________________
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