[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200722124928.3gya2v3g6g2mdgia@duo.ucw.cz>
Date: Wed, 22 Jul 2020 14:49:28 +0200
From: Pavel Machek <pavel@....cz>
To: "Alexander A. Klimov" <grandmaster@...klimov.de>
Cc: jacek.anaszewski@...il.com, dmurphy@...com, robh+dt@...nel.org,
linux-leds@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] leds: Replace HTTP links with HTTPS ones
Hi!
> 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@...klimov.de>
Thanks, applied.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)
Powered by blists - more mailing lists