Re: Oracle Web Server: Max URL length

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: Thu, 13 Aug 1998 18:27:29 GMT
Message-ID: <35e12eeb.106463796_at_192.86.155.100>


A copy of this was sent to Karl Keyte <karl_at_koft.com> (if that email address didn't require changing) On Thu, 13 Aug 1998 15:39:00 +0100, you wrote:

>Please help!
>
>Does anyone know the maximum URL length? We have an application
>which is (through selection of lots of filter criteria) generating very
>long
>URLs. They seem to be rejected. We're not 100% sure whether this is
>Netscape truncating the URL (to approx 2048 characters, we think) or
>whether the Oracle web server is truncating at that end.
>
>Does anyone know the maximum length of a URL? Is it specified as a
>standard or is it implementation specific?
>
>Please reply by direct e-mail rather than to the group.
>
>Many thanks for your help.
>
>Regards, Karl
>

Its currently 1,552 bytes or thereabouts AFTER the question mark (the query string is limited).

It doesn't seem to be specified in any RFC's (although I haven't read them all myself) and it definitely OS dependent. Once upon a time, when all was cgi-bin, the stuff after the question mark would be placed in an environment variable QUERY_STRING. The max size of an environment variable varied from OS to OS (as small as 512 bytes on some to virtually unlimited on others)

Is there any chance you can POST the information instead of using method=get?  

Thomas Kyte
tkyte_at_us.oracle.com
Oracle Government
Herndon VA  

http://govt.us.oracle.com/ -- downloadable utilities  



Opinions are mine and do not necessarily reflect those of Oracle Corporation  

Anti-Anti Spam Msg: if you want an answer emailed to you, you have to make it easy to get email to you. Any bounced email will be treated the same way i treat SPAM-- I delete it. Received on Thu Aug 13 1998 - 20:27:29 CEST

Original text of this message