summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexander A. Klimov <grandmaster@al2klimov.de>2020-07-18 15:18:15 +0300
committerPhilipp Zabel <p.zabel@pengutronix.de>2020-07-20 12:27:12 +0300
commitffebbecaaa86f7cde4a6a813bed14f9d56e7c373 (patch)
treee60fcebfd8e61d3caf71f4422dc75d12fe0f0e89 /lib
parent308646785e51976dea7e20d29a1842d14bf0b9bd (diff)
downloadlinux-ffebbecaaa86f7cde4a6a813bed14f9d56e7c373.tar.xz
reset: 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: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions