-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
materialize-snowflake: percent encode username + password input
The user/password encoding that `uri.User.String()` uses is actually slightly different than `url.QueryEscape()`, and the latter is what is needed to handle inputs with special characters to build a compatible Snowflake DSN.
- Loading branch information
1 parent
ae5e4da
commit e2edd27
Showing
5 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
materialize-snowflake/.snapshots/TestConfigURI-User_&_Password_Authentication
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
will:some%2Bcomplex%[email protected]:443?GO_QUERY_RESULT_FORMAT=json&MULTI_STATEMENT_COUNT=0&application=mytenant_EstuaryFlow&client_session_keep_alive=true&database=mydb&schema=myschema |
1 change: 0 additions & 1 deletion
1
materialize-snowflake/.snapshots/TestConfigURI-v1_User_&_Password_Authentication
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
materialize-snowflake/.snapshots/TestConfigURI-v2_User_&_Password_Authentication
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters