diff options
| author | Alexander A. Klimov <[email protected]> | 2020-07-13 10:24:18 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-07-14 00:01:44 +0000 |
| commit | ed757328c34015be4ec51861a90bb3bcc807ad58 (patch) | |
| tree | 0434fd4461c748915319b3d9d02203b4819d9852 /net/ipv4/tcp_timer.c | |
| parent | WAN: Replace HTTP links with HTTPS ones (diff) | |
| download | kernel-ed757328c34015be4ec51861a90bb3bcc807ad58.tar.gz kernel-ed757328c34015be4ec51861a90bb3bcc807ad58.zip | |
atm: Replace HTTP links with HTTPS ones
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|/)`:
If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
If both the HTTP and HTTPS versions
return 200 OK and serve the same content:
Replace HTTP with HTTPS.
Signed-off-by: Alexander A. Klimov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions
