On 19 August 2011 17:35, Philip Hallstrom <[email protected]> wrote: >> I think that the limit can be 2048 as I recall that is the max for a URL. I >> can't find a reference to back that up at the moment, but I think that this >> is what the sitemap specification (see Google) allows, too. > > http://support.microsoft.com/kb/q208427/ > > Relevant portion..... > > Microsoft Internet Explorer has a maximum uniform resource locator (URL) > length of 2,083 characters. Internet Explorer also has a maximum path length > of 2,048 characters. This limit applies to both POST request and GET request > URLs.
That's the current limit for IE - but IE is not the internet. If you check section 3.2.1 of the HTTP RFC, it states: "The HTTP protocol does not place any a priori limit on the length of a URI." and also notes that "Servers should be cautious about depending on URI lengths above 255 bytes, because some older client or proxy implementations may not properly support these lengths" So essentially the limit is whatever combination of current clients can send, and your server can handle. Over time, I'd assume it will get longer, as more http clients support longer URIs, and more people rely on them in their apps. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.

