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

The parser gives an error when the delimiter '=' appears more than once in the value of a key #1

Closed
MrDave1999 opened this issue Dec 22, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@MrDave1999
Copy link
Owner

I have an .env file with the following:

CS = server=localhost;user=root;password=1234

But the parser throws an exception with this message:

The parser found a line that has no key-value pair format. (Actual Value: CS= server=localhost;user=root;password=1234, Line: 1)

This line actually does have the format of a key-value pair, since the key would be CS and the value would be: server=localhost;user=root;password=1234.

Apparently the parser does not allow the delimiter '=' to appear more than once within the key value.

@MrDave1999 MrDave1999 added the invalid This doesn't seem right label Dec 22, 2021
MrDave1999 added a commit that referenced this issue Dec 24, 2021
@MrDave1999
Copy link
Owner Author

This problem has been fixed in version 1.0.2.

@MrDave1999 MrDave1999 added bug Something isn't working and removed invalid This doesn't seem right labels Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant