diff options
author | Paul Menzel <pmenzel@molgen.mpg.de> | 2019-04-09 18:37:46 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-04-09 18:37:46 +0200 |
commit | 55a37d7117bf01f5245dfab2db86adb59b8daf9e (patch) | |
tree | 99ac9bc1553061a67705195abd202dae87c57e0a /hwdb | |
parent | 74b45889e4ea1d7e0ae551419fccbb5bf4489f05 (diff) | |
download | systemd-55a37d7117bf01f5245dfab2db86adb59b8daf9e.tar.gz systemd-55a37d7117bf01f5245dfab2db86adb59b8daf9e.tar.bz2 systemd-55a37d7117bf01f5245dfab2db86adb59b8daf9e.zip |
Update UEFI URLs (#12260)
* Use more secure https://www.uefi.org
http://www.uefi.org directs to https://uefi.org/, so this saves one
redirect.
$ curl -I http://www.uefi.org
HTTP/1.1 302 Found
Server: nginx
Date: Tue, 09 Apr 2019 14:54:46 GMT
Content-Type: text/html; charset=iso-8859-1
Connection: keep-alive
X-Content-Type-Options: nosniff
Location: https://uefi.org/
Cache-Control: max-age=1209600
Expires: Tue, 23 Apr 2019 14:54:46 GMT
Run the command below to update all occurrences.
git grep -l http://www.uefi.org | xargs sed -i 's,http://www.uefi.org,https://www.uefi.org,'
* Use https://uefi.org to save redirect
Save one redirect by using the target location.
$ curl -I https://www.uefi.org
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Tue, 09 Apr 2019 14:55:42 GMT
Content-Type: text/html; charset=iso-8859-1
Connection: keep-alive
X-Content-Type-Options: nosniff
Location: https://uefi.org/
Cache-Control: max-age=1209600
Expires: Tue, 23 Apr 2019 14:55:42 GMT
Run the command below to update all occurrences.
git grep -l https://www.uefi.org | xargs sed -i 's,https://www.uefi.org,https://uefi.org,'
Diffstat (limited to 'hwdb')
-rw-r--r-- | hwdb/20-acpi-vendor.hwdb | 4 | ||||
-rw-r--r-- | hwdb/20-acpi-vendor.hwdb.patch | 4 | ||||
-rwxr-xr-x | hwdb/acpi-update.py | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/hwdb/20-acpi-vendor.hwdb b/hwdb/20-acpi-vendor.hwdb index 9628207720..bd6c106f8a 100644 --- a/hwdb/20-acpi-vendor.hwdb +++ b/hwdb/20-acpi-vendor.hwdb @@ -1,8 +1,8 @@ # This file is part of systemd. # # Data imported from: -# http://www.uefi.org/uefi-pnp-export -# http://www.uefi.org/uefi-acpi-export +# https://uefi.org/uefi-pnp-export +# https://uefi.org/uefi-acpi-export # # With various additions from other sources diff --git a/hwdb/20-acpi-vendor.hwdb.patch b/hwdb/20-acpi-vendor.hwdb.patch index 8371f5295b..fdd9efcf39 100644 --- a/hwdb/20-acpi-vendor.hwdb.patch +++ b/hwdb/20-acpi-vendor.hwdb.patch @@ -2,8 +2,8 @@ +++ 20-acpi-vendor.hwdb 2019-04-08 11:36:50.735757868 +0200 @@ -3,6 +3,8 @@ # Data imported from: - # http://www.uefi.org/uefi-pnp-export - # http://www.uefi.org/uefi-acpi-export + # https://uefi.org/uefi-pnp-export + # https://uefi.org/uefi-acpi-export +# +# With various additions from other sources diff --git a/hwdb/acpi-update.py b/hwdb/acpi-update.py index 2c23b057fb..7bdd3f93d8 100755 --- a/hwdb/acpi-update.py +++ b/hwdb/acpi-update.py @@ -72,8 +72,8 @@ b = open("pnp_id_registry.html") print('# This file is part of systemd.\n' '#\n' '# Data imported from:\n' - '# http://www.uefi.org/uefi-pnp-export\n' - '# http://www.uefi.org/uefi-acpi-export') + '# https://uefi.org/uefi-pnp-export\n' + '# https://uefi.org/uefi-acpi-export') read_table(a) read_table(b) |