linux-sg2042/drivers/mtd/hyperbus
Alexander A. Klimov 614a895fc6 mtd: hyperbus: 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: Alexander A. Klimov <grandmaster@al2klimov.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
2020-08-02 22:17:05 +02:00
..
Kconfig mtd: hyperbus: fix dependency and build error 2019-08-29 14:31:23 +02:00
Makefile
hbmc-am654.c mtd: hyperbus: Replace HTTP links with HTTPS ones 2020-08-02 22:17:05 +02:00
hyperbus-core.c mtd: hyperbus: Replace HTTP links with HTTPS ones 2020-08-02 22:17:05 +02:00