diff options
author | 2020-06-27 12:31:11 +0200 | |
---|---|---|
committer | 2020-07-05 14:16:44 -0600 | |
commit | c0ad0befed93a6f567edb230954b744d4926cafa (patch) | |
tree | 96e9cbcd4ae28f38fb48772d5d297bff55d7ce32 /fs/cifs/cifsglob.h | |
parent | Documentation/features: Add kcov (diff) | |
download | linux-dev-c0ad0befed93a6f567edb230954b744d4926cafa.tar.xz linux-dev-c0ad0befed93a6f567edb230954b744d4926cafa.zip |
Replace HTTP links with HTTPS ones: DRBD driver
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 <grandmaster@al2klimov.de>
Link: https://lore.kernel.org/r/20200627103111.71771-1-grandmaster@al2klimov.de
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'fs/cifs/cifsglob.h')
0 files changed, 0 insertions, 0 deletions