Replace HTTP links with HTTPS ones: IPv*
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> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
1eafa7369f
commit
7a6498ebcd
@@ -7,7 +7,7 @@
|
||||
* "TCP Veno: TCP Enhancement for Transmission over Wireless Access Networks."
|
||||
* IEEE Journal on Selected Areas in Communication,
|
||||
* Feb. 2003.
|
||||
* See http://www.ie.cuhk.edu.hk/fileadmin/staff_upload/soung/Journal/J3.pdf
|
||||
* See https://www.ie.cuhk.edu.hk/fileadmin/staff_upload/soung/Journal/J3.pdf
|
||||
*/
|
||||
|
||||
#include <linux/mm.h>
|
||||
|
Reference in New Issue
Block a user