Skip to content

Commit 1fb0c2c

Browse files
Copilotshueybubbles
andcommitted
Update version to 1.9.3 and add documentation for double-quoted values
Co-authored-by: shueybubbles <2224906+shueybubbles@users.noreply.github.com>
1 parent 4794128 commit 1fb0c2c

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
# Changelog
2+
## 1.9.3
3+
4+
### Bug fixes
5+
6+
* Fix parsing of ADO connection strings with double-quoted values containing semicolons (#282)
7+
28
## 1.9.2
39

410
### Bug fixes

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,13 @@ For further information on usage:
172172
* `sqlserver://username@host/instance?krb5-configfile=path/to/file&krb5-credcachefile=/path/to/cache`
173173
* `sqlserver://username@host/instance?krb5-configfile=path/to/file&krb5-realm=domain.com&krb5-keytabfile=/path/to/keytabfile`
174174

175-
2. ADO: `key=value` pairs separated by `;`. Values may not contain `;`, leading and trailing whitespace is ignored.
175+
2. ADO: `key=value` pairs separated by `;`. Values can contain `;` and other special characters by enclosing them in double quotes. Leading and trailing whitespace is ignored.
176176
Examples:
177177

178178
* `server=localhost\\SQLExpress;user id=sa;database=master;app name=MyAppName`
179179
* `server=localhost;user id=sa;database=master;app name=MyAppName`
180+
* `server=localhost;user id=sa;password="my;complex;password";database=master` // Password with semicolons
181+
* `server=localhost;user id=sa;password="value with ""quotes"" inside";database=master` // Escaped quotes using double quotes
180182
* `server=localhost;user id=sa;database=master;app name=MyAppName;krb5-configfile=path/to/file;krb5-credcachefile=path/to/cache;authenticator=krb5`
181183
* `server=localhost;user id=sa;database=master;app name=MyAppName;krb5-configfile=path/to/file;krb5-realm=domain.com;krb5-keytabfile=path/to/keytabfile;authenticator=krb5`
182184

version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import "fmt"
44

55
// Update this variable with the release tag before pushing the tag
66
// This value is written to the prelogin and login7 packets during a new connection
7-
const driverVersion = "v1.9.2"
7+
const driverVersion = "v1.9.3"
88

99
func getDriverVersion(ver string) uint32 {
1010
var majorVersion uint32

0 commit comments

Comments
 (0)