aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-10-10 17:34:53 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-10-17 14:05:03 +0200
commitda0a37802df19eb5ae16b07fd2603f66d31c8f46 (patch)
tree30d21cbd2be09c81348e69d640941d10a95e0f78 /global-functions.rsc
parent80c0e47649b0125bc5058dbdd92910e4e4f05f82 (diff)
global-functions: $CertificateDownload: http-header-field expects an array
Diffstat (limited to 'global-functions.rsc')
-rw-r--r--global-functions.rsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/global-functions.rsc b/global-functions.rsc
index 8d06cb1..b798047 100644
--- a/global-functions.rsc
+++ b/global-functions.rsc
@@ -125,7 +125,7 @@
:do {
:local LocalFileName ($CommonName . ".pem");
:local UrlFileName ([ $UrlEncode $CommonName ] . ".pem");
- /tool/fetch check-certificate=yes-without-crl http-header-field=$FetchUserAgent \
+ /tool/fetch check-certificate=yes-without-crl http-header-field=({ $FetchUserAgent }) \
($ScriptUpdatesBaseUrl . "certs/" . $UrlFileName . $ScriptUpdatesUrlSuffix) \
dst-path=$LocalFileName as-value;
$WaitForFile $LocalFileName;