Commit ad736c1a authored by Alexander A. Klimov's avatar Alexander A. Klimov Committed by Guenter Roeck
Browse files

hwmon: 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: default avatarAlexander A. Klimov <grandmaster@al2klimov.de>
Link: https://lore.kernel.org/r/20200719175512.60745-1-grandmaster@al2klimov.de


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent f12d634f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ Supported chips:

    Addresses scanned: I2C 0x1d, 0x1e, 0x1f, 0x2d, 0x2e, 0x2f

    Datasheet: Publicly available at the TI website http://www.ti.com/
    Datasheet: Publicly available at the TI website https://www.ti.com/

Author: Guenter Roeck

+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ Supported chips:

    Datasheet: Publicly available at the Analog Devices website

	       http://www.onsemi.com/PowerSolutions/product.do?id=ADM1026
	       https://www.onsemi.com/PowerSolutions/product.do?id=ADM1026

Authors:
	- Philip Pokorny <ppokorny@penguincomputing.com> for Penguin Computing
+2 −2
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ Supported chips:

    Datasheet: Publicly available at the Analog Devices website

	       http://www.analog.com/en/prod/0%2C2877%2CADM1030%2C00.html
	       https://www.analog.com/en/prod/0%2C2877%2CADM1030%2C00.html

  * Analog Devices ADM1031

@@ -20,7 +20,7 @@ Supported chips:

    Datasheet: Publicly available at the Analog Devices website

	       http://www.analog.com/en/prod/0%2C2877%2CADM1031%2C00.html
	       https://www.analog.com/en/prod/0%2C2877%2CADM1031%2C00.html

Authors:
	- Alexandre d'Alton <alex@alexdalton.org>
+4 −4
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ Supported chips:

    Datasheet: Publicly available at the Analog Devices website

	       http://www.analog.com/static/imported-files/data_sheets/ADT7410.pdf
	       https://www.analog.com/static/imported-files/data_sheets/ADT7410.pdf
  * Analog Devices ADT7420

    Prefix: 'adt7420'
@@ -20,7 +20,7 @@ Supported chips:

    Datasheet: Publicly available at the Analog Devices website

	       http://www.analog.com/static/imported-files/data_sheets/ADT7420.pdf
	       https://www.analog.com/static/imported-files/data_sheets/ADT7420.pdf

  * Analog Devices ADT7310

@@ -30,7 +30,7 @@ Supported chips:

    Datasheet: Publicly available at the Analog Devices website

	       http://www.analog.com/static/imported-files/data_sheets/ADT7310.pdf
	       https://www.analog.com/static/imported-files/data_sheets/ADT7310.pdf

  * Analog Devices ADT7320

@@ -40,7 +40,7 @@ Supported chips:

    Datasheet: Publicly available at the Analog Devices website

	       http://www.analog.com/static/imported-files/data_sheets/ADT7320.pdf
	       https://www.analog.com/static/imported-files/data_sheets/ADT7320.pdf

Author: Hartmut Knaack <knaack.h@gmx.de>

+3 −3
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ Supported chips:
    Datasheets:

	- http://ww1.microchip.com/downloads/en/DeviceDoc/1412.pdf
	- http://ww1.microchip.com/downloads/en/DeviceDoc/1402.pdf
	- https://ww1.microchip.com/downloads/en/DeviceDoc/1402.pdf

  * SMSC / Microchip EMC1403, EMC1404, EMC1413, EMC1414

@@ -33,7 +33,7 @@ Supported chips:

    Datasheet:

	- http://ww1.microchip.com/downloads/en/DeviceDoc/1422.pdf
	- https://ww1.microchip.com/downloads/en/DeviceDoc/1422.pdf

  * SMSC / Microchip EMC1423, EMC1424

@@ -43,7 +43,7 @@ Supported chips:

    Datasheet:

	- http://ww1.microchip.com/downloads/en/DeviceDoc/1423_1424.pdf
	- https://ww1.microchip.com/downloads/en/DeviceDoc/1423_1424.pdf

Author:
    Kalhan Trisal <kalhan.trisal@intel.com
Loading