MySqlConnectionStringBuilder breaks License Key
Posted: 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?
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?