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 07:44:57 -0700 |
commit | e263f2d3c2bc0985025d4996b4f92cb4f18265b7 (patch) | |
tree | 0b59cf57b0d9920815daf52b239d01b99cb9899f /drivers/iio/light/st_uvis25.h | |
parent | 0505aca8cbc8b31aaae1e87873f9492278dd208d (diff) |
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/iio/light/st_uvis25.h')
0 files changed, 0 insertions, 0 deletions