Kolja Engelmann wrote:
Please tell me how long the GET parameter can be. Is there a limit for
each parameter itself, or a limit in the whole?
I thought there would be a maximum of 1024 characters, but it seems to
work with more.
Part of the RFC2616 (@
http://www.ietf.org/rfc/rfc2616.txt) states:
<quote>
The HTTP protocol does not place any a priori limit on the length of
a URI. Servers must be able to handle the URI of any resource they
serve, and SHOULD be able to handle URIs of unbounded length if they
provide GET-based forms that could generate such URIs. A server
SHOULD return 414 (Request-URI too long) status if a URI is longer
than the server can handle (see section 10.4.15).
Note: Servers ought to be cautious about depending on URI lengths
above 255 bytes, because some older client or proxy
implementations might not properly support these lengths.
</quote>
So, to be safe I'd try to limit the whole thing to 255 characters or
less :-)
--
I have a spam filter working.
To mail me include "urkxvq" (with or without the quotes)
in the subject line, or your mail will be ruthlessly discarded.