diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-03 20:56:57 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2020-07-24 16:44:57 +0200 |
commit | e263f2d3c2bc0985025d4996b4f92cb4f18265b7 (patch) | |
tree | 0b59cf57b0d9920815daf52b239d01b99cb9899f /drivers/hwmon/s3c-hwmon.c | |
parent | Documentation: hwmon/w83l786ng: drop duplicate words (diff) | |
download | linux-e263f2d3c2bc0985025d4996b4f92cb4f18265b7.tar.xz linux-e263f2d3c2bc0985025d4996b4f92cb4f18265b7.zip |
hwmon: (tmmp513) Replace HTTP links with HTTPS links
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 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>
Link: https://lore.kernel.org/r/20200703185657.15329-1-grandmaster@al2klimov.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/s3c-hwmon.c')
0 files changed, 0 insertions, 0 deletions