Re: [PATCH] Replace HTTP links with HTTPS ones: Documentation/sphinx/parse-headers.pl

2020-06-26 Thread Jonathan Corbet
On Sat, 20 Jun 2020 09:54:02 +0200 "Alexander A. Klimov" 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: > For each line: > If doesn't contain `\bxmlns\b`:

[PATCH] Replace HTTP links with HTTPS ones: Documentation/sphinx/parse-headers.pl

2020-06-20 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: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If both the HTTP and