diff options
| author | Alexander A. Klimov <[email protected]> | 2020-06-27 09:29:35 +0200 |
|---|---|---|
| committer | Jonathan Corbet <[email protected]> | 2020-07-05 14:13:00 -0600 |
| commit | 6b2484e13a52e9836e67e89cadc6189c40c8ae8c (patch) | |
| tree | 22626c901a8b116c1254992c38abf3d55c05961c /tools/perf/scripts/python/bin | |
| parent | 3e28c5ca1dc6de5f1735bf87a0634d6fb4357778 (diff) | |
Replace HTTP links with HTTPS ones: Documentation/admin-guide
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions