• 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: Jerry Krinock <email@hidden>
  • Date: Mon, 09 Apr 2012 16:52:10 -0700

On 2012 Apr 09, at 16:01, Mike Abdullah wrote:

> Can you tell us why you want the trailing slash maintained?

I use it in a method which normalizes internet URLs.

(I hate URL normalization, but my app must work with web browsers that do it, in various ways.)

> Pretty much all path-based APIs on OS X ignore such slashes, so I'm assuming you want it for another reason.

Yes.

> There may be a better API we can suggest.

Let me know if so.



_______________________________________________

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>
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: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: -[NSURL path] "If the path has a trailing slash it is stripped"
  • Next by Date: Animating only one axis of a UIView move?
  • Previous by thread: Re: -[NSURL path] "If the path has a trailing slash it is stripped"
  • Next by thread: Re: -[NSURL path] "If the path has a trailing slash it is stripped"
  • Index(es):
    • Date
    • Thread