Re: NSURL bug with IPv6 addresses

2008-12-03 Thread Larry Campbell
I've opened radar #6414752. - lc On Dec 3, 2008, at 12:34 AM, Kyle Sluder wrote: On Tue, Dec 2, 2008 at 10:59 PM, Larry Campbell <[EMAIL PROTECTED]> wrote: The first line is the correct, desired result; the next two are totally borked. So is this just known to be broken? Or is there some way

Re: NSURL bug with IPv6 addresses

2008-12-02 Thread Kyle Sluder
On Tue, Dec 2, 2008 at 10:59 PM, Larry Campbell <[EMAIL PROTECTED]> wrote: > The first line is the correct, desired result; the next two are totally > borked. So is this just known to be broken? Or is there some way to get it > to work? Interestingly enough, the documentation only refers to RFC 18

NSURL bug with IPv6 addresses

2008-12-02 Thread Larry Campbell
This snippet: url = [[[NSURL alloc] initWithString:@"http:// [2001:4860:0:2001::68]/"] autorelease]; NSLog(@"url host=\"[EMAIL PROTECTED]", absolute string=\"[EMAIL PROTECTED]"", [url host], [url absoluteString]); url = [[[NSURL alloc] initWithScheme:@"http" host:@"2001:4860:0: