Re: [PATCH] macintosh/adb: Replace HTTP links with HTTPS ones

2020-07-24 Thread Michael Ellerman
On Fri, 17 Jul 2020 20:35:22 +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: > If not .svg: > For each line: > If doesn't

[PATCH] macintosh/adb: Replace HTTP links with HTTPS ones

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