diff options
| author | Alexander A. Klimov <[email protected]> | 2020-06-27 12:31:11 +0200 |
|---|---|---|
| committer | Jonathan Corbet <[email protected]> | 2020-07-05 14:16:44 -0600 |
| commit | c0ad0befed93a6f567edb230954b744d4926cafa (patch) | |
| tree | 96e9cbcd4ae28f38fb48772d5d297bff55d7ce32 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 3839a7460721b87501134697b7b90c45dcc7825d (diff) | |
Replace HTTP links with HTTPS ones: DRBD driver
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/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions