diff options
author | 2020-07-15 20:57:44 +0200 | |
---|---|---|
committer | 2020-07-16 15:27:55 +0300 | |
commit | 78d15eea088c6b911d7926625b815630b5939ed1 (patch) | |
tree | 693c6d057a46bd8d790e8644eba3584f7769964d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | platform/x86: apple-gmux: Replace HTTP links with HTTPS ones (diff) | |
download | wireguard-linux-78d15eea088c6b911d7926625b815630b5939ed1.tar.xz wireguard-linux-78d15eea088c6b911d7926625b815630b5939ed1.zip |
platform/x86: acerhdf: 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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions