Commit 9a3fea0
committed
Fix: trim whitespace from certain DSN fields (#189)
Trim whitespace from Cloud ID, User and Host field values before
submitting these to the driver
(WS is likely to be inserted if copy&pasting these values.)
Also, rephrase the error message presented to the user in case the Cloud
ID is incorrect.
(cherry picked from commit c4b36bb)
Cherry-pick conflicts:
- driver/connect.c
- dsneditor/EsOdbcDsnEditor/DSNEditorForm.cs
resolved by removing the cloud-id related code from the merge.1 parent 5c5ca63 commit 9a3fea0
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
234 | 237 | | |
235 | | - | |
| 238 | + | |
236 | 239 | | |
237 | 240 | | |
238 | 241 | | |
| |||
0 commit comments