-
Notifications
You must be signed in to change notification settings - Fork 567
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fully parse secure and skip_verify DSN params (#862)
The current code will interpret a DSN with `?secure=false` in its options as a directive to turn TSL _on!_ Obviously re-setting what is the default value is redundant, but deployment systems that template the DSN from e.g. environment variables may need to do this. The previous behavior (`?secure` without a value set turns secure on) is preserved to minimize surprise. Signed-off-by: Nathan J. Mehl <n@oden.io> Signed-off-by: Nathan J. Mehl <n@oden.io>
- Loading branch information
Showing
2 changed files
with
104 additions
and
5 deletions.
There are no files selected for viewing
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