aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexander A. Klimov <[email protected]>2020-06-21 15:35:52 +0200
committerJonathan Corbet <[email protected]>2020-06-26 11:14:12 -0600
commitc69f22f25f1105cb4e629b5c2da61a245b653ce1 (patch)
treeb9a8f88ebcdbc74db32ce9d17642172148862f7d /tools/perf/scripts/python
parentd3603f4c30c24b43f49bf9c1dbc93b06f7a7775d (diff)
Replace HTTP links with HTTPS ones: Documentation/filesystems
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')
0 files changed, 0 insertions, 0 deletions