diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-06 20:38:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-06 23:23:03 +0300 |
commit | 7a6498ebcdc0fde4613a20ae405481d49166e8bb (patch) | |
tree | cd78d44323b974fd3229a832d97fe40f7b833eaa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1eafa7369f170ac7dbe06a3774e642084051d475 (diff) | |
download | linux-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