1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-04 10:34:52 +02:00

Преобразование OPI -> OInt (workflow)

This commit is contained in:
Vitaly the Alpaca 2024-06-01 14:49:28 +00:00 committed by Vitaly the Alpaca (bot)
parent a8b25df3a9
commit a31faa5d76
2 changed files with 4 additions and 4 deletions

View File

@ -258,8 +258,8 @@ Function SplitURL(Val URL) Export
URL = StrReplace(URL, "http://", ""); URL = StrReplace(URL, "http://", "");
URL = StrReplace(URL, ":443", ""); URL = StrReplace(URL, ":443", "");
Address = Right(URL, StrLen(URL) - StrFind(URL, "/", SearchDirection.FromStart) + 1); Address = Right(URL, StrLen(URL) - StrFind(URL, "/", SearchDirection.FromBegin) + 1);
Server = Left(URL, StrFind(URL, "/", SearchDirection.FromStart) - 1); Server = Left(URL, StrFind(URL, "/", SearchDirection.FromBegin) - 1);
Try Try
SSL = New OpenSSLSecureConnection; SSL = New OpenSSLSecureConnection;

View File

@ -258,8 +258,8 @@ Function SplitURL(Val URL) Export
URL = StrReplace(URL, "http://", ""); URL = StrReplace(URL, "http://", "");
URL = StrReplace(URL, ":443", ""); URL = StrReplace(URL, ":443", "");
Address = Right(URL, StrLen(URL) - StrFind(URL, "/", SearchDirection.FromStart) + 1); Address = Right(URL, StrLen(URL) - StrFind(URL, "/", SearchDirection.FromBegin) + 1);
Server = Left(URL, StrFind(URL, "/", SearchDirection.FromStart) - 1); Server = Left(URL, StrFind(URL, "/", SearchDirection.FromBegin) - 1);
Try Try
SSL = New OpenSSLSecureConnection; SSL = New OpenSSLSecureConnection;