Commit 7f322c1
authored
fix: don't quote an already quoted url field (#433)
At present, CST doesn't connect to UTA databases correctly if the
password has special characters.
The database URL includes a password field, which is already embedded
within a valid URL. The value was url quoted when the URL was generated,
so it doesn't need to be quoted a second time when the URL is consumed
by the UTA database code.
I tested this using a password `local@$%dev` and it attempted to
authenticate with the password `local%40%24%25dev`. After this PR, it
correctly uses the single-unquoted value.1 parent bfb017a commit 7f322c1
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
| 104 | + | |
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
| |||
0 commit comments