]> git.baikalelectronics.ru Git - kernel.git/commit
Replace HTTP links with HTTPS ones: Documentation/filesystems
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Sun, 21 Jun 2020 13:35:52 +0000 (15:35 +0200)
committerJonathan Corbet <corbet@lwn.net>
Fri, 26 Jun 2020 17:14:12 +0000 (11:14 -0600)
commit58c7c84f57996b02049cbbf656efd720942d17a3
treeb9a8f88ebcdbc74db32ce9d17642172148862f7d
parent2cd61b354f78facfb2f1079c1c216fa83cc1c706
Replace HTTP links with HTTPS ones: Documentation/filesystems

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/20200621133552.46371-1-grandmaster@al2klimov.de
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/filesystems/hfs.rst
Documentation/filesystems/hpfs.rst
Documentation/filesystems/nfs/rpc-server-gss.rst
Documentation/filesystems/path-lookup.rst
Documentation/filesystems/ramfs-rootfs-initramfs.rst
Documentation/filesystems/ubifs-authentication.rst
Documentation/filesystems/vfs.rst