arm64: Replace HTTP links with HTTPS ones
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Mon, 20 Jul 2020 21:12:31 +0000 (23:12 +0200)
committerJonathan Corbet <corbet@lwn.net>
Thu, 23 Jul 2020 20:04:37 +0000 (14:04 -0600)
commitf6655c75610ebf17461f6667c034a892c99be292
treec01951a59edfc37b4f78fa0801e7ddfd12bcdccf
parentcb66eb11da6500f8a0fb37260be0e714b5093496
arm64: 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>
Link: https://lore.kernel.org/r/20200720211231.63831-1-grandmaster@al2klimov.de
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/arm64/arm-acpi.rst