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: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200710062151.28871-1-grandmaster@al2klimov.de
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| b43_pci_bridge.c | ||
| bridge_pcmcia_80211.c | ||
| driver_chipcommon.c | ||
| driver_chipcommon_pmu.c | ||
| driver_chipcommon_sflash.c | ||
| driver_extif.c | ||
| driver_gige.c | ||
| driver_gpio.c | ||
| driver_mipscore.c | ||
| driver_pcicore.c | ||
| embedded.c | ||
| host_soc.c | ||
| main.c | ||
| pci.c | ||
| pcihost_wrapper.c | ||
| pcmcia.c | ||
| scan.c | ||
| sdio.c | ||
| sprom.c | ||
| ssb_private.h | ||