Re: What is the maximum NSURL length?
Re: What is the maximum NSURL length?
- Subject: Re: What is the maximum NSURL length?
- From: Gregory Weston <email@hidden>
- Date: Mon, 28 Jul 2008 21:19:24 -0400
Philip Dow wrote:
Hello, quick question. What is the maximum length of an utf-8 string
that NSURL can handle when using +[NSURL urlWithString:]. I understand
that Safari can deal with tens of thousands of characters in the url
field. Would somebody be able to offer a more specific number?
Should be whatever the limit is on a NSString. (Not counting the
possibilities inherent in relative URLs.) Any smaller limits would
really be imposed by the *client* of the NSURL object. A given server
may not be able to cope with a URL that's "too long" for example.
_______________________________________________
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