Replace HTTP links with HTTPS ones: Documentation/translations/zh_CN
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Mon, 8 Jun 2020 18:16:49 +0000 (20:16 +0200)
committerJonathan Corbet <corbet@lwn.net>
Fri, 19 Jun 2020 19:40:02 +0000 (13:40 -0600)
commitcf37fc4a0ce121fa9acb5ac390787ebc6a6959e9
tree4cf563fa69d2b92e1401467acca9d6c7b1ee2deb
parent68e4cd17e218971a2fd60c30fe14078dc0d8a68e
Replace HTTP links with HTTPS ones: Documentation/translations/zh_CN

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>
Reviewed-by: Alex Shi <alex.shi@linux.alibaba.com>
Link: https://lore.kernel.org/r/20200608181649.74883-1-grandmaster@al2klimov.de
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/translations/zh_CN/process/2.Process.rst
Documentation/translations/zh_CN/process/4.Coding.rst
Documentation/translations/zh_CN/process/7.AdvancedTopics.rst
Documentation/translations/zh_CN/process/8.Conclusion.rst
Documentation/translations/zh_CN/process/coding-style.rst
Documentation/translations/zh_CN/process/howto.rst
Documentation/translations/zh_CN/process/submitting-drivers.rst
Documentation/translations/zh_CN/process/submitting-patches.rst
Documentation/translations/zh_CN/process/volatile-considered-harmful.rst