diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-06-08 21:16:49 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2020-06-19 22:40:02 +0300 |
commit | cf37fc4a0ce121fa9acb5ac390787ebc6a6959e9 (patch) | |
tree | 4cf563fa69d2b92e1401467acca9d6c7b1ee2deb /Documentation/translations/zh_CN/process/8.Conclusion.rst | |
parent | 68e4cd17e218971a2fd60c30fe14078dc0d8a68e (diff) | |
download | linux-cf37fc4a0ce121fa9acb5ac390787ebc6a6959e9.tar.xz |
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>
Diffstat (limited to 'Documentation/translations/zh_CN/process/8.Conclusion.rst')
-rw-r--r-- | Documentation/translations/zh_CN/process/8.Conclusion.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/translations/zh_CN/process/8.Conclusion.rst b/Documentation/translations/zh_CN/process/8.Conclusion.rst index 2bbd76161e10..90cec3de6106 100644 --- a/Documentation/translations/zh_CN/process/8.Conclusion.rst +++ b/Documentation/translations/zh_CN/process/8.Conclusion.rst @@ -17,16 +17,16 @@ 记录的;“make htmldocs”或“make pdfdocs”可用于以HTML或PDF格式生成这些文档( 尽管某些发行版提供的tex版本会遇到内部限制,无法正确处理文档)。 -不同的网站在各个细节层次上讨论内核开发。您的作者想谦虚地建议用 http://lwn.net/ +不同的网站在各个细节层次上讨论内核开发。您的作者想谦虚地建议用 https://lwn.net/ 作为来源;有关许多特定内核主题的信息可以通过以下网址的lwn内核索引找到: http://lwn.net/kernel/index/ 除此之外,内核开发人员的一个宝贵资源是: - http://kernelnewbies.org/ + https://kernelnewbies.org/ -当然,我们不应该忘记 http://kernel.org/ 这是内核发布信息的最终位置。 +当然,我们不应该忘记 https://kernel.org/ 这是内核发布信息的最终位置。 关于内核开发有很多书: @@ -42,9 +42,9 @@ 有关git的文档,请访问: - http://www.kernel.org/pub/software/scm/git/docs/ + https://www.kernel.org/pub/software/scm/git/docs/ - http://www.kernel.org/pub/software/scm/git/docs/user-manual.html + https://www.kernel.org/pub/software/scm/git/docs/user-manual.html 结论 ==== |