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

Re: error on bad <base> url with form

In [emacs-w3m : No.12509]
	On Tue, 29 Sep 2015 19:42:52 +1000, Kevin Ryde wrote:
> With the current cvs, viewing foo.html below gets an error

>     M-x w3m-find-file /tmp/foo.html
>     =>
>     w3m-expand-url: BASE must have a scheme part: /noschema/onthis/

> This is a cut-down version of what recent archive.org is doing, eg.

>     http://archive.org/download/DNALOUNGE-2001-07-27/

> The <base> field doesn't have a schema, which is probably slightly
> contrary to the html specs.  Could w3m-check-header-tags tolerate it,
> something like below?

Thank you for the patch.  I've applied it.
I believe the change causes no harm on normal html form.