diff --git a/src/modules/app.service.ts b/src/modules/app.service.ts index 145b807..e35475f 100644 --- a/src/modules/app.service.ts +++ b/src/modules/app.service.ts @@ -66,6 +66,14 @@ export function splitUrl(host: string, port: string, database: string, baseUrl: return baseUrl.replace('hostname', host).replace(':port', port ? `:${port}` : '') .replace('=database', `=${database}`); } + + // https://work.fineres.com/browse/REPORT-72078 + if (baseUrl.startsWith('jdbc:informix-sqli')) { + return baseUrl.replace('hostname', host) + .replace(':port', port ? `:${port}` : '') + .replace('database', database) + .replace(':INFORMIXSERVER={server}',''); + } return baseUrl.replace('hostname', host).replace(':port', port ? `:${port}` : '') .replace('database', database)