aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexander A. Klimov <[email protected]>2020-07-21 21:06:53 +0200
committerGreg Kroah-Hartman <[email protected]>2020-07-25 15:27:25 +0200
commitf8cdbd4f4dd5b72b7e448849e63d041994d89fff (patch)
tree19f6cd055e64241db54d3cfe51cd9aa4d48fec03 /tools/perf/scripts/python
parent3659743d481f67453ca409f4502f3b51dbf1c3e1 (diff)
staging: comedi: dt: 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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions