diff options
author | 2020-07-08 12:35:19 +0200 | |
---|---|---|
committer | 2020-07-08 10:35:09 -0700 | |
commit | 5d75c04306f7f906c1200bef42406ccb71d4b75f (patch) | |
tree | 8962c03d49c1d1946dede7e71ad8745149e2b615 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: dsa: loop: Print when registration is successful (diff) | |
download | linux-dev-5d75c04306f7f906c1200bef42406ccb71d4b75f.tar.xz linux-dev-5d75c04306f7f906c1200bef42406ccb71d4b75f.zip |
Replace HTTP links with HTTPS ones: ATMEL MACB ETHERNET DRIVER
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>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
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