• 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: Links with ../ and /
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Links with ../ and /


  • Subject: Re: Links with ../ and /
  • From: "Mr. Gecko" <email@hidden>
  • Date: Thu, 20 Nov 2008 00:56:24 -0600

what I am trying to do is get a string of the full url from urls with ../, I have the original url so I can just use that.
link = [[NSURL URLWithString:link relativeToURL:[NSURL URLWithString:url]] absoluteString];


Thanks for the help,
Mr. Gecko
On Nov 20, 2008, at 12:32 AM, Ken Thomases wrote:

On Nov 19, 2008, at 11:13 PM, Mr. Gecko wrote:

How do I handle links with ../ for previous directory and / for front of url.
I am current;y doing it with

Am I misunderstanding or are you reimplementing +[NSURL URLWithString:relativeToURL:] ?


Cheers,
Ken


_______________________________________________

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


References: 
 >Links with ../ and / (From: "Mr. Gecko" <email@hidden>)
 >Re: Links with ../ and / (From: Ken Thomases <email@hidden>)

  • Prev by Date: [moderator] Re: Cocoa apps protection software
  • Next by Date: Re: NSShadow
  • Previous by thread: Re: Links with ../ and /
  • Next by thread: Wrapping C functions in Objective C proxy objects: naming convention?
  • Index(es):
    • Date
    • Thread