From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Date: Sun, 2 Aug 2020 15:17:51 +0000 (UTC) Subject: [PATCH for v5.9] b43legacy: Replace HTTP links with HTTPS ones In-Reply-To: <20200719111124.58167-1-grandmaster@al2klimov.de> References: <20200719111124.58167-1-grandmaster@al2klimov.de> Message-ID: <20200802151752.01D6FC433C6@smtp.codeaurora.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: b43-dev@lists.infradead.org "Alexander A. Klimov" wrote: > 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 Patch applied to wireless-drivers-next.git, thanks. 140c6026167b b43legacy: Replace HTTP links with HTTPS ones -- https://patchwork.kernel.org/patch/11672427/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches