From: vados-dev <192440777+vados-dev@users.noreply.github.com> Date: Mon, 4 May 2026 09:05:03 +0000 (+0300) Subject: Autocommit in repo: ros.vados.ru, generated by owner: root, in 12:05:03 04.05.2026. X-Git-Url: https://git.vados.ru/gitweb.cgi?a=commitdiff_plain;h=f4442323949d31f24e12e4d991f1fdab0612fedc;p=Mikrotiks%2Fros.vados.ru.git Autocommit in repo: ros.vados.ru, generated by owner: root, in 12:05:03 04.05.2026. --- diff --git a/html/AM-FwAddrLists.rsc b/html/AM-FwAddrLists.rsc index b9bc35e3f..5235fe375 100644 --- a/html/AM-FwAddrLists.rsc +++ b/html/AM-FwAddrLists.rsc @@ -17,7 +17,7 @@ :local FwAddrListsUrl ($GlobalScriptsUrl . "fw-addr-lists.d/"); :local FwAddrListsIndexUrl ($FwAddrListsUrl . "index"); :local FwAddrListTimeOut 1d; - :local CheckCerts true; + :local CheckCerts false; :local FetchMode "https-only"; :local FetchMethod "get"; diff --git a/html/AM-GlobalFunc.rsc b/html/AM-GlobalFunc.rsc index 7ffb30839..c00d11eda 100644 --- a/html/AM-GlobalFunc.rsc +++ b/html/AM-GlobalFunc.rsc @@ -17,9 +17,9 @@ :global GlobalFuncReady false; # Git commit id & info, expected configuration version -:global CommitId "main/552/80a6ab5c"; +:global CommitId "main/553/53721779"; :global CommitTAG "unknown"; -:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 12:00:03 04.05.2026."; +:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 12:05:03 04.05.2026."; # The variables are received right here. :global GlobalConfVersion 140; @@ -1339,7 +1339,7 @@ # "background-and-keep-broken-and-no-redirects") # $5 - fetch method for /tool/fetch (optional, e.g. "get", "head", "post", "put", "patch", "delete") :set FetchLargeFiles do={ - :local FetchLargeScript [:tostr $1]; + :local ScriptName [:tostr $1]; :local fetchUrl [:tostr $2]; :local CheckCert [:tostr $3]; :local fetchMode [:tostr $4]; @@ -1356,7 +1356,7 @@ :set CheckCert [ $IfThenElse ($CheckCert = "false") "no" "yes-without-crl" ]; - :local DirName ("tmpfs/" . [ $CleanName $FetchLargeScript ]); + :local DirName ("tmpfs/" . [ $CleanName $ScriptName ]); :if ([ $MkDir $DirName ] = false) do={ $LogPrint error $0 ("Failed creating directory!"); :return false; @@ -1365,7 +1365,7 @@ :local FileName ($DirName . "/" . [ $CleanName $0 ] . "-" . [ $GetRandom20CharAlNum ]); :do { /tool/fetch check-certificate=$CheckCert url=$fetchUrl dst-path=$FileName \ - http-header-field=({ [ $FetchUserAgentStr $FetchLargeScript ] }) as-value; + http-header-field=({ [ $FetchUserAgentStr $ScriptName ] }) as-value; } on-error={ :if ([ $WaitForFile $FileName 500ms ] = true) do={ $RmFile $FileName;