On 7 Jan, Roger Darlington wrote in message
    <dfd5f29151.roger...@rogerarm.freeuk.com>:

> I can grab the URL of this page using Netsurf and save it as an ANT URL:
> 
> [A Very Long URL]
> 
> But if I then click on the saved URL in Netsurf  it will not re-load the
> page.

Could you clarify what "click on the saved URL in NetSurf" means, please? 
Do you actually mean that you double-click on it in a filer window while
NetSurf is on the iconbar?

> The following error is issued by the URL:
> 
> Sorry, your request could not be processed because the format of the URL
> was incorrect. Contact the Help Desk if the problem persists. [SD-001]
> 
> Looking at the URL in Netsurf, it is end-truncated.

I think you're actually conflating two different issues.  The URL in the
toolbar is indeed truncated to 255 characters[1], *but* if you check the
logfile, you'll see that NetSurf is actually fetching the full URL that you
quote above[2].

Given that Firefox also reports that the URL above is malformed, I'd suggest
that the problem lies in the *saving*, and not the loading of the bookmark. 
What should the URL actually be?


1. That's because on RISC OS, the toolbar's URL bar only allocates 256 bytes
to store the URL and terminator in.  I'm afraid that I'm not immediately
about to fix that, because I'm already working on that code in other ways at
present.

2. There is a hardcoded limit of 399 bytes for an ANT URL file's contents,
but you haven't (quite) hit that with your address.

-- 
Steve Fryatt - Leeds, England             Wakefield Acorn & RISC OS Show
                                              Saturday 16 April 2011
http://www.stevefryatt.org.uk/           http://www.wakefieldshow.org.uk/

Reply via email to