]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit - Documentation/security/SCTP.rst
Replace HTTP links with HTTPS ones: documentation
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Tue, 26 May 2020 06:05:44 +0000 (08:05 +0200)
committerJonathan Corbet <corbet@lwn.net>
Mon, 8 Jun 2020 15:30:19 +0000 (09:30 -0600)
commit93431e0607e58a3c997a134adc0fad4fdc147dab
treee57b739e325bb0a8088aa9266ce5265ad5e6a133
parentb55e45a59cb6a421fc52084ea154e7cf21e6b569
Replace HTTP links with HTTPS ones: documentation

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:
  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/20200526060544.25127-1-grandmaster@al2klimov.de
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
34 files changed:
Documentation/COPYING-logo
Documentation/admin-guide/LSM/tomoyo.rst
Documentation/admin-guide/acpi/initrd_table_override.rst
Documentation/admin-guide/bcache.rst
Documentation/admin-guide/devices.rst
Documentation/admin-guide/initrd.rst
Documentation/admin-guide/md.rst
Documentation/admin-guide/mono.rst
Documentation/admin-guide/reporting-bugs.rst
Documentation/admin-guide/unicode.rst
Documentation/conf.py
Documentation/core-api/rbtree.rst
Documentation/dev-tools/gdb-kernel-debugging.rst
Documentation/doc-guide/parse-headers.rst
Documentation/driver-api/acpi/linuxized-acpica.rst
Documentation/driver-api/usb/bulk-streams.rst
Documentation/driver-api/usb/writing_musb_glue_layer.rst
Documentation/filesystems/path-lookup.txt
Documentation/filesystems/seq_file.rst
Documentation/misc-devices/c2port.txt
Documentation/process/3.Early-stage.rst
Documentation/process/7.AdvancedTopics.rst
Documentation/process/8.Conclusion.rst
Documentation/process/adding-syscalls.rst
Documentation/process/applying-patches.rst
Documentation/process/volatile-considered-harmful.rst
Documentation/security/SCTP.rst
Documentation/sphinx/kfigure.py
Documentation/static-keys.txt
Documentation/trace/events-msr.rst
Documentation/trace/mmiotrace.rst
Documentation/vm/ksm.rst
Documentation/xz.txt
scripts/kernel-doc