Re: URL lengths

2017-11-30 Thread Steve Fryatt
On 30 Nov, Tim Hill wrote in message
<56a3223323...@timil.com>:

> I just can't believe that a URL can contain 33% more letters than the King
> James Bible's 3,116,480.
> 
> "four gigabytes per URL"
> 
> LOL

In RISC OS terms, it's another way of saying "limited by available
memory"...

-- 
Steve Fryatt - Leeds, England

http://www.stevefryatt.org.uk/



Re: URL lengths

2017-11-30 Thread Steve Fryatt
On 30 Nov, Harriet Bazley wrote in message
:

> On 28 Nov 2017 as I do recall,
>   Daniel Silverstone  wrote:
>
> > I don't believe we limit URL length per-se, though they get interned and
> > as such four gigabytes per URL is probably the absolute limit.  In
> > addition, POST data is nominally unlimited though I believe we have a
> > similar four gigabyte limit.
> 
> I had an error today from Netsurf, reporting that a URL was too long to
> display (although it seemed to work).

Due to the problems that the Wimp has changing the allocation of writable
icon buffers, there's an arbitrary limit (255 characters, perhaps?) in the
RISC OS front-end's URL bar. If the core tries to display a longer URL, the
bar is just cleared and you get a warning -- but it doesn't otherwise affect
the browser's operation.

This obviously means that there's a limit to the size of URL that you can
type in, too. But that's it. You can follow any length of link in NetSurf,
and launch any length of URL via the launch protocols.

All subject to that 4GB limit, of course.

-- 
Steve Fryatt - Leeds, England

http://www.stevefryatt.org.uk/



Re: URL lengths

2017-11-30 Thread Richard Torrens (lists)
In article <56a1aa7e00joh...@ukgateway.net>,
   John Williams  wrote:
> What is the maximum URL length (including POST data) that NetSurf can
> handle?

What may be relevant is the following entry from my web server error
logs:

2017-10-02 02:57:45: (response.c.553) file not found ... or so:  File name
too long
/YesThisIsAReallyLongRequestURLbutWeAreDoingItOnPurposeWeAreScanningForResearchPurposePleaseHaveALookAtTheUserAgentTHXYesThisIsAReallyLongRequestURLbutWeAreDoingItOnPurposeWeAreScanningForResearchPurposePleaseHaveALookAtTheUserAgentTHXYesThisIsAReallyLongRequestURLbutWeAreDoingItOnPurposeWeAreScanningForResearchPurposePleaseHaveALookAtTheUserAgentTHXYesThisIsAReallyLongRequestURLbutWeAreDoingItOnPurposeWeAreScanningForResearchPurposePleaseHaveALookAtTheUserAgentTHXYesThisIsAReallyLongRequestURLbutWeAreDoingItOnPurposeWeAreScanningForResearchPurposePleaseHaveALookAtTheUserAgentTHXYesThisIsAReallyLongRequestURLbutWeAreDoingItOnPurposeWeAreScanningForResearchPurposePleaseHaveALookAtTheUserAgentTHXYesThisIsAReallyLongRequestURLbutWeAreDoingItOnPurposeWeAreScanningForResearchPurposePleaseHaveALookAtTheUserAgentTHXYesThisIsAReallyLongRequestURLbutWeAreDoingItOnPurposeWeAreScanningForResearchPurposePleaseHaveALookAtTheUserAgentTHXYesThisIsAReallyLongRequestURLbutWeAreDoingItOnPurposeWeAreSc
 ann ->  

At which point the Web server (lighttpd) logs it as an error.

-- 
Richard Torrens.
http://www.Torrens.org for genealogy, natural history, wild food, walks, cats
and more!



Re: URL lengths

2017-11-30 Thread Rob Kendrick
On Thu, Nov 30, 2017 at 02:32:29PM +, Tim Hill wrote:
> 
> I just can't believe that a URL can contain 33% more letters than the
> King James Bible's 3,116,480.
> 
> "four gigabytes per URL"

It's probably much greater than that on modern systems, too!

B.



Re: URL lengths

2017-11-30 Thread Tim Hill
In article , Harriet Bazley
 wrote:
> On 28 Nov 2017 as I do recall, Daniel Silverstone  wrote:

> > On Mon, Nov 27, 2017 at 18:08:46 +, John Williams wrote:
> > > What is the maximum URL length (including POST data) that NetSurf
> > > can handle?
> >
> > I don't believe we limit URL length per-se, though they get interned
> > and as such four gigabytes per URL is probably the absolute limit. 
> > In addition, POST data is nominally unlimited though I believe we
> > have a similar four gigabyte limit.

> I had an error today from Netsurf, reporting that a URL was too long to
> display (although it seemed to work).

I just can't believe that a URL can contain 33% more letters than the
King James Bible's 3,116,480.

"four gigabytes per URL"

LOL

-- 

Tim Hill

timil.com : tjrh.eu : butterwick.eu : blue-bike.uk : youngtheatre.co.uk