HTTPS is more secure than HTTP, and it can effectively avoid man-in-the-middle attacks. At present, developers in the Linux kernel source code have submitted at least 150 patches to change the HTTP link in the kernel to HTTPS.
The change method is not to manually search for HTTP links in the kernel tree, but to a large extent is done automatically by scripts. These scripts look for HTTP links in documents such as SVG and then check whether the server of the target URL provides the corresponding HTTPS The link, if it exists, returns the same content as the HTTP version.
To ensure that the link will not be interrupted when switching to HTTPS, the developers have also tested to ensure that the page loads in the same way.
If there are no surprises, these new security enhancements will arrive with the release of Linux 5.9.