Skip to content

Commit c2901fd

Browse files
HCK-8640: Incorrect parsing of NamedInstance from connection string (#118)
* HCK-8640: Incorrect parsing of NamedInstance from connection string * fix * fix
1 parent 874ff0f commit c2901fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reverse_engineering/helpers/parseConnectionString.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const parseBasicString = ({ string = '' }) => {
4949

5050
return {
5151
host: host,
52-
port: parsed.port,
52+
port: host.includes('\\') ? null : parsed.port,
5353
databaseName: parsed.database,
5454
userName: parsed.user,
5555
userPassword: parsed.password,

0 commit comments

Comments
 (0)