diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-09 21:27:42 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2020-07-13 20:33:14 +0300 |
commit | 90a9f51025dd4f6a026866c0cec6e4a14720bfff (patch) | |
tree | 08a73b1c73d7b12c62482e3d8c9202e54d763b4d /tools | |
parent | 8a74c93d15be769754558c208b717e8ac9156d68 (diff) | |
download | linux-90a9f51025dd4f6a026866c0cec6e4a14720bfff.tar.xz |
S390: Replace HTTP links with HTTPS ones
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 neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
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 <grandmaster@al2klimov.de>
Link: https://lore.kernel.org/r/20200709182742.24724-1-grandmaster@al2klimov.de
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions