diff options
author | 2020-07-19 12:30:33 +0200 | |
---|---|---|
committer | 2020-08-19 10:19:13 +0300 | |
commit | 83bf6db020248f436309e99a6f8544d7216f6756 (patch) | |
tree | 0c002128c3555250ab50009b54647a688513d592 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ARM: OMAP2+: pm33xx-core: Replace HTTP links with HTTPS ones (diff) | |
download | wireguard-linux-83bf6db020248f436309e99a6f8544d7216f6756.tar.xz wireguard-linux-83bf6db020248f436309e99a6f8544d7216f6756.zip |
ARM: OMAP2+: 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 <grandmaster@al2klimov.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions