Hi developers,

I thought I'd write a post to share with you something I recently observed: 
links with big URL's (more than 500 characters) don't work properly on 
activity stream updates, scraps, e-mails, or anywhere general. Using huge 
URLs  is not a good practice in general, since certain browsers have 
undocumented limits on URL handling, but our limit is lower than most 
browsers, to play it safe.

We also use URL rewriting sometimes to route things through our cache to 
decrease latency, so that may consume as much as 160 characters from the 
URL.

Moral of the story: don't use huge URLs. Particularly, since our limit is 
512, and up to 160 can be used up in rewriting, and leaving some space for 
escaping special characters on the rewrite, I'd say the safe limit would be 
around 200. And that's still a pretty long URL:

http://this.is.an.example.url.with.200.chars/as.you.can.see.i.can.write.a.lot.of.stuff/and&it&will&still&fit/wow/its/only/130/characters/this/far/im/getting/tired/of/typing/abcdefghijklmnopqrstuvwxyz

-- 
You received this message because you are subscribed to the Google Groups 
"orkut Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.

Reply via email to