Re: [PATCH] HID: udraw-ps3: Replace HTTP links with HTTPS ones

2020-07-20 Thread Jiri Kosina
On Sat, 18 Jul 2020, Bastien Nocera 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 cont

Re: [PATCH] HID: udraw-ps3: Replace HTTP links with HTTPS ones

2020-07-18 Thread Bastien Nocera
On Sat, 2020-07-18 at 12:33 +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 cont

[PATCH] HID: udraw-ps3: Replace HTTP links with HTTPS ones

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