MySqlConnectionStringBuilder breaks License Key

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
SquishyZA
Posts: 6
Joined: Tue 30 Jun 2020 15:34

MySqlConnectionStringBuilder breaks License Key

Post by SquishyZA » Mon 08 Feb 2021 21:42

The license key I have contains '\n'. When I build a connection string using MySqlConnectionStringBuilder it creates a string that looks like "\"random\nmorerandon\"". The quoted escape characters then prevent the license from being validated. I have to manually append a "License Key=...." to get a workable connection string if I use MySqlConnectionStringBuilder and not set the license key through the builder.

As an added bonus some methods in other libraries will escape the '\n' to "\\n" and that breaks the license key checking too. This I can work around too.

So maybe the license key verifier is a bit too sensitive to escaping/quoting ? Or MySqlConnectionStringBuilder should be more aware of not breaking license key validation?

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: MySqlConnectionStringBuilder breaks License Key

Post by Shalex » Wed 10 Feb 2021 23:03

Please submit your request via contact form and specify email used to purchase dotConnect for MySQL. We will check your license key and investigate the question.

Post Reply