Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single quotes not removed from values #81

Open
paveldanichev opened this issue Dec 31, 2024 · 0 comments
Open

Single quotes not removed from values #81

paveldanichev opened this issue Dec 31, 2024 · 0 comments

Comments

@paveldanichev
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant