• 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: App-specific URLs and the pasteboard. Need help.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App-specific URLs and the pasteboard. Need help.


  • Subject: Re: App-specific URLs and the pasteboard. Need help.
  • From: glenn andreas <email@hidden>
  • Date: Tue, 22 Jan 2008 16:46:54 -0600


On Jan 22, 2008, at 2:44 PM, Duncan Champney wrote:
However, when I paste the URL into TextEdit or Mail, it gets truncated at slightly less than 1000 characters. (The exact count seems to vary by a few bytes, but seems to be around 988 to 992 characters for the actual URL text.)

According to RFC 2822 (Internet Message Format):
There are two limits that this standard places on the number of characters in a line. Each line of characters MUST be no more than 998 characters, and SHOULD be no more than 78 characters, excluding the CRLF.




So since a URL needs to be a single line, it will need to observe these limits... There are a few other limitations on the parts of a URLas well - for example, when embedded in a HTML <A> anchor: 1024 characters in a single attribute value literal, 2100 total sum of all lengths of all attribute value specifications and a similar limit of 2100 for the overall length of the tag.



Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium | prime : build, mutate, evolve, animate : the next generation of fractal art




_______________________________________________

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


  • Follow-Ups:
    • Re: App-specific URLs and the pasteboard. Need help.
      • From: William Bates <email@hidden>
References: 
 >App-specific URLs and the pasteboard. Need help. (From: Duncan Champney <email@hidden>)
 >Re: App-specific URLs and the pasteboard. Need help. (From: Alastair Houghton <email@hidden>)
 >Re: App-specific URLs and the pasteboard. Need help. (From: Duncan Champney <email@hidden>)
 >Re: App-specific URLs and the pasteboard. Need help. (From: Duncan Champney <email@hidden>)

  • Prev by Date: Leopard Bluetooth RFCOMM
  • Next by Date: Re: HUD Windows
  • Previous by thread: Re: App-specific URLs and the pasteboard. Need help.
  • Next by thread: Re: App-specific URLs and the pasteboard. Need help.
  • Index(es):
    • Date
    • Thread