diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-19 19:14:28 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-07-20 11:47:28 +0200 |
commit | b0487e0d96d58906e286592dd02e7292f53e399a (patch) | |
tree | ee03da02360cc21d28003047110662ba5124ade2 /drivers/video/fbdev/core/fbmon.c | |
parent | cf73db84817a9652eb27887981ad78670d2f9b7b (diff) |
drm: 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: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200719171428.60470-1-grandmaster@al2klimov.de
Diffstat (limited to 'drivers/video/fbdev/core/fbmon.c')
0 files changed, 0 insertions, 0 deletions