Re: [PATCH] Replace HTTP links with HTTPS ones: 9P FILE SYSTEM

2020-07-13 Thread Jonathan Corbet
On Wed, 8 Jul 2020 16:58:04 +0200 "Alexander A. Klimov" wrote: > Documentation/filesystems/9p.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/filesystems/9p.rst > b/Documentation/filesystems/9p.rst > index 2995279ddc24..7b5964bc8865 100644 > --- a/Do

[PATCH] Replace HTTP links with HTTPS ones: 9P FILE SYSTEM

2020-07-08 Thread Alexander A. Klimov
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|/)`: