• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: -[NSURL path] "If the path has a trailing slash it is stripped"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Charles Srstka <email@hidden>
  • Date: Mon, 09 Apr 2012 15:15:43 -0500

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.

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


  • Follow-Ups:
    • Re: -[NSURL path] "If the path has a trailing slash it is stripped"
      • From: Mike Abdullah <email@hidden>
    • Re: -[NSURL path] "If the path has a trailing slash it is stripped"
      • From: Mike Abdullah <email@hidden>
    • Re: -[NSURL path] vs. CFURLCopyPath() and CFURLCopyStrictPath()
      • From: Jerry Krinock <email@hidden>
References: 
 >-[NSURL path] "If the path has a trailing slash it is stripped" (From: Jerry Krinock <email@hidden>)
 >Re: -[NSURL path] "If the path has a trailing slash it is stripped" (From: Ken Thomases <email@hidden>)
 >Re: -[NSURL path] "If the path has a trailing slash it is stripped" (From: Jerry Krinock <email@hidden>)
 >Re: -[NSURL path] "If the path has a trailing slash it is stripped" (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: -[NSURL path] "If the path has a trailing slash it is stripped"
  • Next by Date: Re: -[NSURL path] vs. CFURLCopyPath() and CFURLCopyStrictPath()
  • Previous by thread: Re: -[NSURL path] "If the path has a trailing slash it is stripped"
  • Next by thread: Re: -[NSURL path] vs. CFURLCopyPath() and CFURLCopyStrictPath()
  • Index(es):
    • Date
    • Thread