Revision 91194e9b046e18ed813d4632e1c72683aac944ad authored by Alexander A. Klimov on 12 July 2020, 11:11:18 UTC, committed by Rich Felker on 15 August 2020, 02:05:12 UTC
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>
Signed-off-by: Rich Felker <dalias@libc.org>
1 parent e1a8d38
History
File Mode Size
Makefile -rw-r--r-- 418 bytes
generic_mpih-add1.c -rw-r--r-- 1.3 KB
generic_mpih-lshift.c -rw-r--r-- 1.5 KB
generic_mpih-mul1.c -rw-r--r-- 1.3 KB
generic_mpih-mul2.c -rw-r--r-- 1.3 KB
generic_mpih-mul3.c -rw-r--r-- 1.3 KB
generic_mpih-rshift.c -rw-r--r-- 1.5 KB
generic_mpih-sub1.c -rw-r--r-- 1.3 KB
longlong.h -rw-r--r-- 38.9 KB
mpi-bit.c -rw-r--r-- 1.5 KB
mpi-cmp.c -rw-r--r-- 1.6 KB
mpi-inline.h -rw-r--r-- 2.6 KB
mpi-internal.h -rw-r--r-- 5.3 KB
mpi-pow.c -rw-r--r-- 7.7 KB
mpicoder.c -rw-r--r-- 9.0 KB
mpih-cmp.c -rw-r--r-- 1.3 KB
mpih-div.c -rw-r--r-- 5.2 KB
mpih-mul.c -rw-r--r-- 13.6 KB
mpiutil.c -rw-r--r-- 2.7 KB

back to top