Dillo-dev
By thread
dillo-dev@mailman3.com
By month
Messages by month
- ----- 2026 -----
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2002 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2001 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2000 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1999 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1998 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1997 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1996 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1995 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
March 2025
- 2 participants
- 4 messages
Re: Image Redirects on the Wayback Machine
by Rodrigo Arias
Hi,
>Thanks, I've poked around there before but not yet invested the time to
>study how it all fits together. I hadn't discovered the developer docs
>the first time though (I assumed there was only the info that's in
>doc/). Well, I'm still not sure if there are any docs covering the
>network-related code...
There are not many, but you can find some in devdoc/. I should add them
somehow to the website as well.
Essentially the cache keeps a list of entries for connections in
progress. When data is received, the callback for that entry is called
to forward the data. But when a redirect is received, currently Dillo
navigates to the new URL, as if you typed it in the location bar.
What we need to support first is to allow the cache to fetch the new URL
instead of changing the root URL of the current document. I believe we
can do this by adding a new entry to the cache with the new URL and
copying the callback and other related data, or simply reusing the same
entry while we update the URL.
I took a look at the time but I wasn't able to come up with a quick
solution so I didn't look further. I will eventually take a look at it,
but feel free to poke with the cache code in the meanwhile.
Best,
Rodrigo.
March 25, 2025
Re: Image Redirects on the Wayback Machine
by Kevin Koster
On Tue, 25 Mar 2025 00:13:57 +0100
Rodrigo Arias <rodarima(a)gmail.com> wrote:
> >"If Dillo requests an image and receives a response containing a
> > redirection (i.e., pointing to a different URL), the redirection is
> > not followed. These have a strong tendency to be advertisements."
> > https://dillo-browser.github.io/old/FAQ.html#q28
> >
> >However it's a real pain since most of the good stuff on the Web
> >seems to have gone offline. ~/.dillo/domainrc was added to solve
> >similar problems with over-active blocking of images at different
> >domains (next part of that FAQ answer). Could some sort of allow
> >rule for image redirects be added in that too? Or is there an
> >existing work-around for the Wayback Machine images that I
> >haven't figured out?
>
> It is not implemented yet:
>
> https://github.com/dillo-browser/dillo/issues/304#issuecomment-2486646504
Oh right, I saw that but thought it must have been something else. In
the past I believe it's been considered as intended behaviour rather
than a bug (eg. in earlier mailing list discussions which I can't find
now). Hence my suggestion of a domainrc type whitelist rather than an
outright 'fix'.
> See Cache_redirect() in src/cache.c if you want to take a look.
Thanks, I've poked around there before but not yet invested the time to
study how it all fits together. I hadn't discovered the developer docs
the first time though (I assumed there was only the info that's in
doc/). Well, I'm still not sure if there are any docs covering the
network-related code...
March 25, 2025
Re: Image Redirects on the Wayback Machine
by Rodrigo Arias
Hi,
On Tue, Mar 25, 2025 at 09:20:25AM +1100, Kevin Koster wrote:
>I keep needing to open pages at the Wayback Machine in Links
>(graphical mode) because Dillo won't load images there. I know this
>is because a while ago they started using redirects on the image
>links in their archived pages, and the old Dillo FAQ says:
>
>"If Dillo requests an image and receives a response containing a
> redirection (i.e., pointing to a different URL), the redirection is
> not followed. These have a strong tendency to be advertisements."
> https://dillo-browser.github.io/old/FAQ.html#q28
>
>However it's a real pain since most of the good stuff on the Web
>seems to have gone offline. ~/.dillo/domainrc was added to solve
>similar problems with over-active blocking of images at different
>domains (next part of that FAQ answer). Could some sort of allow
>rule for image redirects be added in that too? Or is there an
>existing work-around for the Wayback Machine images that I
>haven't figured out?
It is not implemented yet:
https://github.com/dillo-browser/dillo/issues/304#issuecomment-2486646504
See Cache_redirect() in src/cache.c if you want to take a look.
Best,
Rodrigo.
March 24, 2025
Image Redirects on the Wayback Machine
by Kevin Koster
I keep needing to open pages at the Wayback Machine in Links
(graphical mode) because Dillo won't load images there. I know this
is because a while ago they started using redirects on the image
links in their archived pages, and the old Dillo FAQ says:
"If Dillo requests an image and receives a response containing a
redirection (i.e., pointing to a different URL), the redirection is
not followed. These have a strong tendency to be advertisements."
https://dillo-browser.github.io/old/FAQ.html#q28
However it's a real pain since most of the good stuff on the Web
seems to have gone offline. ~/.dillo/domainrc was added to solve
similar problems with over-active blocking of images at different
domains (next part of that FAQ answer). Could some sort of allow
rule for image redirects be added in that too? Or is there an
existing work-around for the Wayback Machine images that I
haven't figured out?
Example:
The image link at the top of this archived webpage:
http://web.archive.org/web/20001009182503/http://www.abc.net.au/defaultlo.h…
http://web.archive.org/web/20001009182503im_/http://www.abc.net.au/img/abcb…
Redirects to:
http://web.archive.org/web/20000822094140im_/http://www.abc.net.au/img/abcb…
which isn't loaded unless opened on its own via the right-click
menu in Dillo.
March 24, 2025