summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlexander A. Klimov <grandmaster@al2klimov.de>2020-07-06 20:38:50 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-06 23:23:03 +0300
commit7a6498ebcdc0fde4613a20ae405481d49166e8bb (patch)
treecd78d44323b974fd3229a832d97fe40f7b833eaa /tools/perf/scripts/python/export-to-postgresql.py
parent1eafa7369f170ac7dbe06a3774e642084051d475 (diff)
downloadlinux-7a6498ebcdc0fde4613a20ae405481d49166e8bb.tar.xz
Replace HTTP links with HTTPS ones: IPv*
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 <grandmaster@al2klimov.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions