diff --git a/data.json.gpg b/data.json.gpg index 3c2ff0e63f..be99a9a43b 100644 Binary files a/data.json.gpg and b/data.json.gpg differ 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 c7099b7fda..a98db4ee7a 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 7b0357a837..0e13cd48df 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;