Skip to content

Commit 7f6f167

Browse files
authored
Merge pull request #19794 from David-Engel/patch-2
Minor fix
2 parents 2f9bcc7 + e175d08 commit 7f6f167

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/connect/jdbc/building-the-connection-url.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ You might have to escape certain parts of the connection URL values if the value
8787

8888
Before version 8.4, escaped values can contain special characters (especially '=', ';', '[]', and space) but can't contain braces. Values that must be escaped and contain braces should be added to a properties collection.
8989

90-
In version 8.4 and above, escaped values can contain special characters, including braces. However, closing braces must be escaped. For example, with a password of `pass";{word`, a connection string would need to escape the password as follows:
90+
In version 8.4 and above, escaped values can contain special characters, including braces. However, closing braces must be escaped. For example, with a password of `pass";{}word`, a connection string would need to escape the password as follows:
9191

92-
`jdbc:sqlserver://localhost;username=MyUsername;password={pass";{{word};`
92+
`jdbc:sqlserver://localhost;username=MyUsername;password={pass";{}}word};`
9393

9494
> [!NOTE]
9595
> White space inside the braces is literal and not trimmed.

0 commit comments

Comments
 (0)