diff options
author | Alexander A. Klimov <[email protected]> | 2020-07-06 21:03:39 +0200 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2020-08-06 01:01:57 -0400 |
commit | e65bf6e468c39a60c1dfae439198ad875bb8a870 (patch) | |
tree | 2a98eac6a2dd31594526527b82f0ca3931bbb657 /lib/mpi/mpi-div.c | |
parent | e5f78159d62f79eb7923561275290b7c95e7f03f (diff) |
ext4: 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 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]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-div.c')
0 files changed, 0 insertions, 0 deletions