Re: --local and redirection
eocene <[email protected]>
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Message-ID | <[email protected]> |
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.