aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlexander A. Klimov <[email protected]>2020-07-13 22:58:21 +0200
committerWim Van Sebroeck <[email protected]>2020-08-05 18:43:01 +0200
commit2ab77a34d070b1611a52b50c7cfae074153d475b (patch)
tree275275c9cded7f1123aebd0fcdafd0d260856c1b /tools/perf/scripts/python/export-to-postgresql.py
parentd821ab28dfd2fa85a9aed133e9bfd368c156cc04 (diff)
watchdog: 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]> Reviewed-by: Guenter Roeck <[email protected]> Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions