diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-14 21:07:21 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-07-15 13:01:20 +0300 |
commit | 6abe66ec23d315aa1e8e1b65a7848c3eb07dc351 (patch) | |
tree | b7e8e4fa26a7e01a01741951d74d73d869fac907 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f560cd502190a9fd0ca8db0a15c5cca7d9091d2c (diff) |
platform/x86: apple-gmux: 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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions