Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

underscore no longer works in hostname of the connectionstring [DNET919] #846

Closed
firebird-automations opened this issue Dec 4, 2019 · 3 comments

Comments

@firebird-automations
Copy link

Submitted by: Michel Hendriks (michelhendriks)

From version 7.0 and higher i can no longer use a _ character in the hostname of the connectionstring.

When using this part of the connection string:

BUG:
Database=db_loc:s:\test.FDB
I get an invalid connection string

GOOD:
Database=dbloc:s:\test.FDB
Is a valid connection string

When using the INET style

BUG:
inet://db_loc/s:\test.FDB
I get to following values:
Datasource: "INET"
Database: "//db_loc08/s:\\test.fdb"

GOOD:
and without the underscore i get:
inet://dbloc/s:\test.FDB
I get to following values:
Datasource: "dbloc"
Database: "s:\\test.fdb"

@firebird-automations
Copy link
Author

Modified by: Michel Hendriks (michelhendriks)

description: From version 7.0 and higher i can no longer use a _ character in the hostname of the connectionstring.

When using this part of the connection string:

BUG:
Database=db_loc:s:\test.FDB
I get an invalid connection string

GOOD:
Database=dbloc:s:\test.FDB
Is a valid connection string

When using the INET style

BUG:
inet://db_loc/s:\test.FDB
I get to following values:
Datasource: "INET"
Database: "//db_loc08/s:\\test.fdb"

GOOD:
and without the underscore i get:
inet://db_loc/s:\test.FDB
I get to following values:
Datasource: "dbloc"
Database: "s:\\test.fdb"

=>

From version 7.0 and higher i can no longer use a _ character in the hostname of the connectionstring.

When using this part of the connection string:

BUG:
Database=db_loc:s:\test.FDB
I get an invalid connection string

GOOD:
Database=dbloc:s:\test.FDB
Is a valid connection string

When using the INET style

BUG:
inet://db_loc/s:\test.FDB
I get to following values:
Datasource: "INET"
Database: "//db_loc08/s:\\test.fdb"

GOOD:
and without the underscore i get:
inet://dbloc/s:\test.FDB
I get to following values:
Datasource: "dbloc"
Database: "s:\\test.fdb"

@firebird-automations
Copy link
Author

Commented by: @cincuranet

Yeah, I remember I was looking for whether the hostname can contain underscore character and I found it can't. So I'm not matching that.

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => Closed [ 6 ]

resolution: Won't Fix [ 2 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants