summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlexander A. Klimov <grandmaster@al2klimov.de>2020-07-05 09:55:42 +0200
committerRob Herring <robh@kernel.org>2020-07-15 15:46:03 -0600
commit41722d142bd65327ffb1d81f1c151581564dda06 (patch)
treedfc7577163eecbaa58ea6acec6f4af7236c6389b /tools/perf/scripts/python/export-to-postgresql.py
parent54b0e2eb046eb75523eff3ec693a7cc5657589fa (diff)
dt-bindings: mfd: dialog: 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 both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. Acked-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de> Link: https://lore.kernel.org/r/20200705075542.22728-1-grandmaster@al2klimov.de Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions