Re: [PATCH v2] Replace HTTP links with HTTPS ones: Documentation/admin-guide
From: Jonathan Corbet <corbet@lwn.net>
Date: 2020-07-05 20:13:19
Also in:
lkml
From: Jonathan Corbet <corbet@lwn.net>
Date: 2020-07-05 20:13:19
Also in:
lkml
On Sat, 27 Jun 2020 09:29:35 +0200 "Alexander A. Klimov" [off-list ref] wrote:
Rationale:
Reduces attack surface on kernel devs opening the links for MITM
as HTTPS traffic is much harder to manipulate.
Deterministic algorithm:
For each file:
If not .svg:
For each line:
If doesn't contain `\bxmlns\b`:
For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
If both the HTTP and HTTPS versions
return 200 OK and serve the same content:
Replace HTTP with HTTPS.
Signed-off-by: Alexander A. Klimov <redacted>Applied, thanks. jon