Re: [PATCH] Replace HTTP links with HTTPS ones: AFS FILESYSTEM

2020-07-13 Thread Jonathan Corbet
On Wed, 8 Jul 2020 10:14:03 +0200 "Alexander A. Klimov" wrote: > Documentation/filesystems/afs.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/filesystems/afs.rst > b/Documentation/filesystems/afs.rst > index cada9464d6bd..0abb155ac666 100644 > --- a

[PATCH] Replace HTTP links with HTTPS ones: AFS FILESYSTEM

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|/)`: