diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-13 11:43:41 +0200 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2021-07-25 22:18:17 -0700 |
commit | a09c33cbf3db545d44eab16eb528acf834310690 (patch) | |
tree | bec9c71220bdc7a9836944e827de79bcb8de1d85 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e4b016f4b44176807e545fd437cd519b6380e86f (diff) |
alpha: Kconfig: 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: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions