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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to