aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexander A. Klimov <[email protected]>2020-07-21 20:56:33 +0200
committerGreg Kroah-Hartman <[email protected]>2020-07-25 15:27:25 +0200
commita5dfb77533484026a8452dc9418784636131e14d (patch)
tree9168d3ef66a8013fd736fbe17dde6068666b0519 /tools/perf/scripts/python
parentf8cdbd4f4dd5b72b7e448849e63d041994d89fff (diff)
staging: comedi: das: 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