Re: --local and redirection
Jorge Arellano Cid <[email protected]>
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Dec 20, 2014 at 08:58:16PM +0000, eocene wrote: > 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... Committed. You may want to update the splash page and Changelog. -- Cheers Jorge.-