lkml.org 
[lkml]   [2020]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Replace HTTP links with HTTPS ones: Documentation/driver-api
On Sun, 21 Jun 2020 15:35:12 +0200
"Alexander A. Klimov" <grandmaster@al2klimov.de> 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@al2klimov.de>
> ---
> .../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

\
 
 \ /
  Last update: 2020-06-26 19:09    [W:0.285 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site