Replace HTTP links with HTTPS ones: DRBD driver

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/20200627103111.71771-1-grandmaster@al2klimov.de
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
Alexander A. Klimov 2020-06-27 12:31:11 +02:00 committed by Jonathan Corbet
parent 3839a74607
commit c0ad0befed
3 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ Description
clusters and in this context, is a "drop-in" replacement for shared clusters and in this context, is a "drop-in" replacement for shared
storage. Simplistically, you could see it as a network RAID 1. storage. Simplistically, you could see it as a network RAID 1.
Please visit http://www.drbd.org to find out more. Please visit https://www.drbd.org to find out more.
.. toctree:: .. toctree::
:maxdepth: 1 :maxdepth: 1

View File

@ -6,7 +6,7 @@ FAQ list:
========= =========
A FAQ list may be found in the fdutils package (see below), and also A FAQ list may be found in the fdutils package (see below), and also
at <http://fdutils.linux.lu/faq.html>. at <https://fdutils.linux.lu/faq.html>.
LILO configuration options (Thinkpad users, read this) LILO configuration options (Thinkpad users, read this)
@ -220,11 +220,11 @@ It also contains additional documentation about the floppy driver.
The latest version can be found at fdutils homepage: The latest version can be found at fdutils homepage:
http://fdutils.linux.lu https://fdutils.linux.lu
The fdutils releases can be found at: The fdutils releases can be found at:
http://fdutils.linux.lu/download.html https://fdutils.linux.lu/download.html
http://www.tux.org/pub/knaff/fdutils/ http://www.tux.org/pub/knaff/fdutils/

View File

@ -35,7 +35,7 @@ config BLK_DEV_DRBD
cache coherency. cache coherency.
For automatic failover you need a cluster manager (e.g. heartbeat). For automatic failover you need a cluster manager (e.g. heartbeat).
See also: http://www.drbd.org/, http://www.linux-ha.org See also: https://www.drbd.org/, http://www.linux-ha.org
If unsure, say N. If unsure, say N.