diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-06-27 13:30:50 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2020-06-30 21:05:09 +0300 |
commit | 7ecd4a8175104b55de120dd8847e0bfabf7d75aa (patch) | |
tree | 00d5288b2b021ac8c6d51fb4424b5236db19c5a8 /drivers/pci/pci-label.c | |
parent | b91535812d663acc47952d05386c8a126eae8080 (diff) | |
download | linux-7ecd4a8175104b55de120dd8847e0bfabf7d75aa.tar.xz |
PCI: Replace http:// links with https://
Replace http:// links with https:// links. This reduces the likelihood of
man-in-the-middle attacks when developers open these links.
Deterministic algorithm:
For each file:
If not .svg:
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.
[bhelgaas: also update samsung.com links, drop sourceforge link]
Link: https://lore.kernel.org/r/20200627103050.71712-1-grandmaster@al2klimov.de
Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci-label.c')
-rw-r--r-- | drivers/pci/pci-label.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-label.c b/drivers/pci/pci-label.c index 707dd9808676..781e45cf60d1 100644 --- a/drivers/pci/pci-label.c +++ b/drivers/pci/pci-label.c @@ -18,7 +18,7 @@ * the instance number and string from the type 41 record and exports * it to sysfs. * - * Please see http://linux.dell.com/files/biosdevname/ for more + * Please see https://linux.dell.com/files/biosdevname/ for more * information. */ |