diff mbox series

[v2] arm64: Replace HTTP links with HTTPS ones

Message ID 20200720211231.63831-1-grandmaster@al2klimov.de (mailing list archive)
State Mainlined
Commit f6655c75610ebf17461f6667c034a892c99be292
Headers show
Series [v2] arm64: Replace HTTP links with HTTPS ones | expand

Commit Message

Alexander A. Klimov July 20, 2020, 9:12 p.m. 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>
---
 Now better?

 Documentation/arm64/arm-acpi.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jonathan Corbet July 23, 2020, 8:04 p.m. UTC | #1
On Mon, 20 Jul 2020 23:12:31 +0200
"Alexander A. Klimov" <grandmaster@al2klimov.de> wrote:

>  Documentation/arm64/arm-acpi.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/arm64/arm-acpi.rst b/Documentation/arm64/arm-acpi.rst
> index 872dbbc73d4a..8f675c38c244 100644
> --- a/Documentation/arm64/arm-acpi.rst
> +++ b/Documentation/arm64/arm-acpi.rst
> @@ -273,7 +273,7 @@ only use the _DSD Device Properties UUID [5]:
>  
>     - UUID: daffd814-6eba-4d8c-8a91-bc9bbf4aa301
>  
> -   - http://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf
> +   - https://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf
>  
>  The UEFI Forum provides a mechanism for registering device properties [4]
>  so that they may be used across all operating systems supporting ACPI.

Applied, thanks.

jon
diff mbox series

Patch

diff --git a/Documentation/arm64/arm-acpi.rst b/Documentation/arm64/arm-acpi.rst
index 872dbbc73d4a..8f675c38c244 100644
--- a/Documentation/arm64/arm-acpi.rst
+++ b/Documentation/arm64/arm-acpi.rst
@@ -273,7 +273,7 @@  only use the _DSD Device Properties UUID [5]:
 
    - UUID: daffd814-6eba-4d8c-8a91-bc9bbf4aa301
 
-   - http://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf
+   - https://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf
 
 The UEFI Forum provides a mechanism for registering device properties [4]
 so that they may be used across all operating systems supporting ACPI.