diff options
| author | Alexander A. Klimov <[email protected]> | 2020-06-08 20:16:49 +0200 |
|---|---|---|
| committer | Jonathan Corbet <[email protected]> | 2020-06-19 13:40:02 -0600 |
| commit | cf37fc4a0ce121fa9acb5ac390787ebc6a6959e9 (patch) | |
| tree | 4cf563fa69d2b92e1401467acca9d6c7b1ee2deb /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 68e4cd17e218971a2fd60c30fe14078dc0d8a68e (diff) | |
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 <[email protected]>
Reviewed-by: Alex Shi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions