diff options
| author | Alexander A. Klimov <[email protected]> | 2020-06-21 15:36:30 +0200 |
|---|---|---|
| committer | Jonathan Corbet <[email protected]> | 2020-06-26 11:19:43 -0600 |
| commit | e7b4311ebcac142be28c9fa1b9f63a9d35fc2a92 (patch) | |
| tree | 85543c0fe2ac5e9e3cd578ca4503b02e302253a7 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | c69f22f25f1105cb4e629b5c2da61a245b653ce1 (diff) | |
Replace HTTP links with HTTPS ones: Documentation/process
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]>
Acked-by: Miguel Ojeda <[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/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions