Re: --local and redirection

eocene <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
Jorge wrote:
> On Sat, Dec 20, 2014 at 01:09:04AM +0000, eocene wrote:
> > Jorge wrote:
> > > On Wed, Dec 17, 2014 at 06:30:30PM +0000, eocene wrote:
> > > > 
> > > > I notice that redirection defeats --local.
> > > > You go to www.dillo.org and images aren't loaded.
> > > > You go to dillo.org, it redirects to www.dillo.org, and images are loaded.
> > > 
> > >   Oh, yes.
> > > 
> > >   Originally,  --local  was  meant for local files only. To allow
> > > safe displaying of HTML email in sylpheed (IIRC).
> > > 
> > >   Now,  from  the  console  help given by dillo, it seems like it
> > > should  work  with  non-local  URLs  too.  It  makes sense to me,
> > > although  I  haven't  found a compelling use case for that. Maybe
> > > for opening news site without the images...
> > > 
> > >   Attached is a brief patch. Please test and send feedback.
> > 
> > It appears to fix the case that I mentioned, but then I tried a local file like
> > 
> > <head>
> > <meta http-equiv="refresh" content="0; url=http://example.com/">
> > </head>
> > <body>
> > text
> > </body>
> > 
> > and the redirection is followed.
> 
>   Please try the attached patch.

Looks like it works properly...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.