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 /tools | |
parent | 74b45889e4ea1d7e0ae551419fccbb5bf4489f05 (diff) | |
download | systemd-55a37d7117bf01f5245dfab2db86adb59b8daf9e.tar.gz |
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 'tools')
-rwxr-xr-x | tools/meson-hwdb-update.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/meson-hwdb-update.sh b/tools/meson-hwdb-update.sh index f9ef241719..8bdc58ac7f 100755 --- a/tools/meson-hwdb-update.sh +++ b/tools/meson-hwdb-update.sh @@ -20,8 +20,8 @@ if [ "${2:-}" != "-n" ]; then ( curl -L -o ma-large.txt 'http://standards-oui.ieee.org/oui/oui.txt' curl -L -o ma-medium.txt 'http://standards-oui.ieee.org/oui28/mam.txt' curl -L -o ma-small.txt 'http://standards-oui.ieee.org/oui36/oui36.txt' - curl -L -o pnp_id_registry.html 'http://www.uefi.org/uefi-pnp-export' - curl -L -o acpi_id_registry.html 'http://www.uefi.org/uefi-acpi-export' + curl -L -o pnp_id_registry.html 'https://uefi.org/uefi-pnp-export' + curl -L -o acpi_id_registry.html 'https://uefi.org/uefi-acpi-export' ) fi set -x |