• Alexander A. Klimov's avatar
    ARM: davinci: Replace HTTP links with HTTPS ones · fb01eb36
    Alexander A. Klimov authored
    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: default avatarAlexander A. Klimov <grandmaster@al2klimov.de>
    [nsekhar@ti.com: drop obsolete hawkboard.org URL completeley
    		 fixup subject line prefix]
    Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
    fb01eb36
board-neuros-osd2.c 6.52 KB