diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-19 18:17:05 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-07-19 21:49:25 +0300 |
commit | 7ed33ea6b4faf0d63eafeef0b1a9b977b66ac88c (patch) | |
tree | d6314557a43ddf3cee2f472ed77c62c39c890d9a /Documentation/crc32.txt | |
parent | 71ea8eebdd4455a43a78b68fd2d106719735c211 (diff) | |
download | linux-7ed33ea6b4faf0d63eafeef0b1a9b977b66ac88c.tar.xz |
ALSA: 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 <grandmaster@al2klimov.de>
Link: https://lore.kernel.org/r/20200719151705.59624-1-grandmaster@al2klimov.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation/crc32.txt')
0 files changed, 0 insertions, 0 deletions