Skip to content

Conversation

@Carrotman42
Copy link
Contributor

Also add unit test.

Before this change, calling RegisterTLSConfig with a key that is invalid in a URL doesn't work. This change fixes the issue by unescaping the TLS config name during DSN parsing.

@julienschmidt
Copy link
Member

Please make an entry to the AUTHORS file

@Carrotman42
Copy link
Contributor Author

Done.

@julienschmidt
Copy link
Member

Thank you!
LGTM

julienschmidt added a commit that referenced this pull request Jan 6, 2016
QueryUnescape the tlsConfig name during DSN parsing.
@julienschmidt julienschmidt merged commit c9c5955 into go-sql-driver:master Jan 6, 2016
@julienschmidt julienschmidt added this to the v1.3 milestone Jan 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants