diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-21 20:35:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-25 15:27:26 +0200 |
commit | 58b1d3f864b1f32521d60642e240face22e9ee68 (patch) | |
tree | 3e76681f2e6b0552b653da028d12a603f9fb621e /fs/exfat/exfat_fs.h | |
parent | 411adf23ceab9d570b61696f7c9516b3599c4862 (diff) | |
download | lwn-58b1d3f864b1f32521d60642e240face22e9ee68.tar.gz lwn-58b1d3f864b1f32521d60642e240face22e9ee68.zip |
staging: comedi: addi: 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/20200721183545.67500-1-grandmaster@al2klimov.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/exfat/exfat_fs.h')
0 files changed, 0 insertions, 0 deletions