diff options
author | 2020-07-13 08:58:59 +0200 | |
---|---|---|
committer | 2020-07-18 00:59:26 +0200 | |
commit | f3a49f17845d81a032b83ef102fb24ffb2dfb3a0 (patch) | |
tree | d1ceec5b98a29b929a72bbe17d92662a89a3415d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ARM: at91: pm: add missing put_device() call in at91_pm_sram_init() (diff) | |
download | wireguard-linux-f3a49f17845d81a032b83ef102fb24ffb2dfb3a0.tar.xz wireguard-linux-f3a49f17845d81a032b83ef102fb24ffb2dfb3a0.zip |
ARM: at91: 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: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20200713065859.31770-1-grandmaster@al2klimov.de
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions