update-tunnelbroker: escaping question mark is no longer required

This commit is contained in:
Christian Hesse 2023-06-26 11:16:19 +02:00
parent 0502cf17c9
commit cc5820ed90

View file

@ -33,7 +33,7 @@ $ScriptLock $0;
:if ($Data = false) do={ :if ($Data = false) do={
:do { :do {
:set Data ([ /tool/fetch check-certificate=yes-without-crl \ :set Data ([ /tool/fetch check-certificate=yes-without-crl \
("https://ipv4.tunnelbroker.net/nic/update\?hostname=" . $Comment->"id") \ ("https://ipv4.tunnelbroker.net/nic/update?hostname=" . $Comment->"id") \
user=($Comment->"user") password=($Comment->"pass") output=user as-value ]->"data"); user=($Comment->"user") password=($Comment->"pass") output=user as-value ]->"data");
} on-error={ } on-error={
$LogPrintExit2 debug $0 ("Failed downloading, " . $I . " retries pending.") false; $LogPrintExit2 debug $0 ("Failed downloading, " . $I . " retries pending.") false;