From ba41107a9225e1361ec84d77d247c6c8fd233eed Mon Sep 17 00:00:00 2001 From: vados-dev <192440777+vados-dev@users.noreply.github.com> Date: Mon, 4 May 2026 11:45:03 +0300 Subject: [PATCH] Autocommit in repo: ros.vados.ru, generated by owner: root, in 11:45:03 04.05.2026. --- html/AM-GlobalFunc.rsc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/html/AM-GlobalFunc.rsc b/html/AM-GlobalFunc.rsc index 772bc459c..3ea3d8133 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/548/b82d8221"; +:global CommitId "main/549/8641dec0"; :global CommitTAG "unknown"; -:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 11:25:02 04.05.2026."; +:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 11:45:03 04.05.2026."; # The variables are received right here. :global GlobalConfVersion 140; @@ -1357,18 +1357,17 @@ :global WaitForFile; :set CheckCert [ $IfThenElse ($CheckCert = "false") "no" "yes-without-crl" ]; - #:set fetchMode [ $IfThenElse ($fetchMode != "false") [:tostr ("mode=" . $fetchMode)] ]; - #:set fetchMethod [$IfThenElse ($fetchMethod != "false") [:tostr ("http-method=\"" . $fetchMethod . "\"") ]]; :local DirName ("tmpfs/" . [ $CleanName $FetchLargeScript ]); :if ([ $MkDir $DirName ] = false) do={ $LogPrint error $0 ("Failed creating directory!"); :return false; } - :local FileName ($DirName . "/" . [ $CleanName $FetchLargeScript ] . "-" . [ $GetRandom20CharAlNum ]); <-- ИСПРАВЛЕНО + + :local FileName ($DirName . "/" . [ $CleanName $0 ] . "-" . [ $GetRandom20CharAlNum ]); <-- ВОЗВРАЩАЕМ $0 :do { - /tool/fetch check-certificate=$CheckCert mode=https http-header-field=({ [ $FetchUserAgentStr $FetchLargeScript ] }) \ - url=("\" . $fetchUrl . "\"") dst-path=$FileName as-value; + /tool/fetch check-certificate=$CheckCert url=("\" . $fetchUrl . "\"") dst-path=$FileName \ + http-header-field=({ [ $FetchUserAgentStr $FetchLargeScript ] }) as-value; } onerror Err { :if ([ $WaitForFile $FileName 500ms ] = true) do={ $RmFile $FileName; -- 2.52.0