Re: [PATCH] Replace HTTP links with HTTPS ones: Documentation/driver-api
From: Jonathan Corbet
Date: Fri Jun 26 2020 - 13:09:38 EST
On Sun, 21 Jun 2020 15:35:12 +0200
"Alexander A. Klimov" <grandmaster@xxxxxxxxxxxx> wrote:
> 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@xxxxxxxxxxxx>
> ---
> .../early-userspace/early_userspace_support.rst | 4 ++--
> Documentation/driver-api/memory-devices/ti-gpmc.rst | 2 +-
> Documentation/driver-api/mmc/mmc-tools.rst | 2 +-
> Documentation/driver-api/nvdimm/nvdimm.rst | 12 ++++++------
> Documentation/driver-api/nvdimm/security.rst | 2 +-
> Documentation/driver-api/rapidio/rapidio.rst | 4 ++--
> Documentation/driver-api/thermal/nouveau_thermal.rst | 2 +-
> Documentation/driver-api/usb/writing_usb_driver.rst | 4 ++--
> 8 files changed, 16 insertions(+), 16 deletions(-)
I've applied this one, thanks.
jon