Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

isdn/capi: 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: David S. Miller <davem@davemloft.net>

authored by

Alexander A. Klimov and committed by
David S. Miller
e7fff95c ce1e2a77

+1 -1
+1 -1
drivers/isdn/capi/Kconfig
··· 5 5 This provides CAPI (the Common ISDN Application Programming 6 6 Interface) Version 2.0, a standard making it easy for programs to 7 7 access ISDN hardware in a device independent way. (For details see 8 - <http://www.capi.org/>.) CAPI supports making and accepting voice 8 + <https://www.capi.org/>.) CAPI supports making and accepting voice 9 9 and data connections, controlling call options and protocols, 10 10 as well as ISDN supplementary services like call forwarding or 11 11 three-party conferences (if supported by the specific hardware