Replace HTTP links with HTTPS ones: BLUETOOTH SUBSYSTEM
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Wed, 8 Jul 2020 13:36:38 +0000 (15:36 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 10 Jul 2020 17:21:03 +0000 (19:21 +0200)
commitd5baf620e5ba31bfd0205bcda15f79a0fa2021ab
tree96cc71c267d4df0d6153ff02f3d722375b15b87f
parenta3b4cbfc078d9b97b500d78f225c6b53c43ff745
Replace HTTP links with HTTPS ones: BLUETOOTH SUBSYSTEM

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: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/Kconfig