From a31faa5d769c392eb64ee284a23a4bb371f0f2a3 Mon Sep 17 00:00:00 2001 From: Vitaly the Alpaca Date: Sat, 1 Jun 2024 14:49:28 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B5=D0=BE=D0=B1=D1=80=D0=B0?= =?UTF-8?q?=D0=B7=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20OPI=20->=20OInt=20?= =?UTF-8?q?(workflow)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/en/OInt/tools/Modules/internal/Modules/OPI_Tools.os | 4 ++-- src/en/OPI/src/CommonModules/OPI_Tools/Module.bsl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/en/OInt/tools/Modules/internal/Modules/OPI_Tools.os b/src/en/OInt/tools/Modules/internal/Modules/OPI_Tools.os index c7099b7fd..a98db4ee7 100644 --- a/src/en/OInt/tools/Modules/internal/Modules/OPI_Tools.os +++ b/src/en/OInt/tools/Modules/internal/Modules/OPI_Tools.os @@ -258,8 +258,8 @@ Function SplitURL(Val URL) Export URL = StrReplace(URL, "http://", ""); URL = StrReplace(URL, ":443", ""); - Address = Right(URL, StrLen(URL) - StrFind(URL, "/", SearchDirection.FromStart) + 1); - Server = Left(URL, StrFind(URL, "/", SearchDirection.FromStart) - 1); + Address = Right(URL, StrLen(URL) - StrFind(URL, "/", SearchDirection.FromBegin) + 1); + Server = Left(URL, StrFind(URL, "/", SearchDirection.FromBegin) - 1); Try SSL = New OpenSSLSecureConnection; diff --git a/src/en/OPI/src/CommonModules/OPI_Tools/Module.bsl b/src/en/OPI/src/CommonModules/OPI_Tools/Module.bsl index 7b0357a83..0e13cd48d 100644 --- a/src/en/OPI/src/CommonModules/OPI_Tools/Module.bsl +++ b/src/en/OPI/src/CommonModules/OPI_Tools/Module.bsl @@ -258,8 +258,8 @@ Function SplitURL(Val URL) Export URL = StrReplace(URL, "http://", ""); URL = StrReplace(URL, ":443", ""); - Address = Right(URL, StrLen(URL) - StrFind(URL, "/", SearchDirection.FromStart) + 1); - Server = Left(URL, StrFind(URL, "/", SearchDirection.FromStart) - 1); + Address = Right(URL, StrLen(URL) - StrFind(URL, "/", SearchDirection.FromBegin) + 1); + Server = Left(URL, StrFind(URL, "/", SearchDirection.FromBegin) - 1); Try SSL = New OpenSSLSecureConnection;