-
Improvement
-
Resolution: Fixed
-
Minor
-
None
For exemple :
If I set a environment variable containing a jtds connection string.
JTDS_CONNECTION_STRING=jdbc:jtds:sqlserver://host:33455/DBName;domain\=myDomain
I expect that the equal chararter will be escaped by the backslash.
We can see in the Java Class ApplicationDeploy at line 145 that it's not the the case.
You should split with the following regex :
String regex = ".[^\\\\]=.";
String[] parts = environmentVariable.split(regex);
I close this issue in the mean time I find an other way to configure environment variable by combining more than one variable in my property file.
{DB_DOMAIN}Exemple jtds.url=${DB_URL};
.