Re: [PATCH] unifdef: Replace HTTP links with HTTPS ones

2020-07-13 Thread Tony Finch
Alexander A. Klimov wrote: > -"@(#) $URL: http://dotat.at/prog/unifdef $\n" > +"@(#) $URL: https://dotat.at/prog/unifdef $\n" Yes, thank you! Feel free to add my: Acked-by: Tony Finch Tony. -- f.anthony.n.finchhttps://dotat.at/ Selsey Bill to Lyme Regis: West veering northwest 4

[PATCH] unifdef: Replace HTTP links with HTTPS ones

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