dotenv-java icon indicating copy to clipboard operation
dotenv-java copied to clipboard

Single quotes not removed from values

Open paveldanichev opened this issue 1 year ago • 0 comments

Example .env file:

key1=value1
key2="value2"
key3='value3'

Usage code:

Dotenv dotenv = Dotenv.load();
System.out.println(dotenv.get("key1"));
System.out.println(dotenv.get("key2"));
System.out.println(dotenv.get("key3"));

Output:

value1
value2
'value3'

The single quotes around value3 were not removed.

paveldanichev avatar Dec 31 '24 14:12 paveldanichev