diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-13 18:12:38 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-07-19 14:02:45 +0200 |
commit | 74cc09fd8d04c56b652cfb332adb61f10bc2c199 (patch) | |
tree | 00116f9cc71a64093c159b32ffdbbcf5f922a2b6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f20c7d9141d34e4a1505ca730743edba629ef7c4 (diff) |
media: tw68: 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`:
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: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions