lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] urls longer than 1024 characters


From: Tim Chase
Subject: Re: [Lynx-dev] urls longer than 1024 characters
Date: Thu, 26 Jan 2023 03:36:50 +0000

On 2023-01-25 21:57, Jude DaShiell wrote:
> Would it be possible for lynx to count the characters in an url and if the
> url is longer than 1024 characters offer to send the long url to an url
> shortening service and then catch the shortened url the service sent back
> and then open that shortened url instead?

In theory, it could, but it wouldn't do any good.  The way that
most URL-shortening services work is that they do a 3xx redirect
back to the original long URL, so Lynx would still have to be able
to handle the long form of the URL.

The only way to do it would be to have a web-proxy that would do
the shortening for you, intercept links in each page, shorten them,
inject them back into the page, and then have the proxy make the
request out for the longer URL, and repeat the whole thing.

Ugly, error-prone, and not really a solution where the easiest thing
to do would just be to bump up the buffer-size in Lynx.

-tkc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]