• 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: What is the maximum NSURL length?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: sorting two arrays
  • Next by Date: Re: [Newbie] Communication between two Views?
  • Previous by thread: Re: What is the maximum NSURL length?
  • Next by thread: Re: [OT] How do you pronounce .xib?
  • Index(es):
    • Date
    • Thread