diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-11-17 17:52:50 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-12-10 12:15:21 -0500 |
commit | cd08b80952657ab9f9ca5b8f374982d9c3159f4a (patch) | |
tree | 3430917f5a34074351deddbe1b46379ac170d314 /qemu-img.c | |
parent | 9f2b463ad8beb76acaf3f5d1654b660592760e68 (diff) | |
download | qemu-cd08b80952657ab9f9ca5b8f374982d9c3159f4a.zip qemu-cd08b80952657ab9f9ca5b8f374982d9c3159f4a.tar.gz qemu-cd08b80952657ab9f9ca5b8f374982d9c3159f4a.tar.bz2 |
Replace HTTP links with HTTPS ones: documentation
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:
For each line:
If doesn't contain `\bxmlns\b`:
For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
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>
Link: https://lore.kernel.org/r/20200526060544.25127-1-grandmaster@al2klimov.de
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20201117165312.118257-8-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions