[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: https by default
In [emacs-w3m : No.12750]
On Sun, 16 Jul 2017 07:56:55 -0400, Boruch Baum wrote:
> I also see that w3m-util.el, line 806, there is defined a constant
> `w3m-url-fallback-base' , set to "http:///", not "https:///".
(w3m-expand-url "example.com") => "http:///example.com"
Well, please let me know how/what/when three slashes are used for?
Some browsers visit https://site if "https:///site" is instructed
to, but (w3m "https:///site") doesn't.
In addition, is it better to change `w3m-url-invalid-regexp' to
something like "\\`https?:///" ? The `w3m-url-valid' function
uses it. Though I don't know why a given url is considered valid
by only checking if it does not match `w3m-url-invalid-regexp'.
> On 2017-07-16 07:44, Boruch Baum wrote:
>> I noticed just now that in w3m.el, function `w3m-canonicalize-url',
>> line 4574, that http is being used instead of https. Would it be much
>> of a problem to default to https instead?
I agree with making it default to https.
Thanks.