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

Quoted strings add quotes again! #38

Open
robvadai opened this issue May 16, 2023 · 2 comments
Open

Quoted strings add quotes again! #38

robvadai opened this issue May 16, 2023 · 2 comments

Comments

@robvadai
Copy link

When I deliberately quote my string e.g. because they're a URL, and use the GetString() method, now extra quotes are added on either side, making it unusable.

I suspect because of this change: #20

So, if I made no mistake and deliberately quote then please do not add extra quotes.

Removing my quotes produce this error:

values should have comma or ASCII newline ('\n') between them
@Xyz3R
Copy link

Xyz3R commented Feb 10, 2025

This happens when there special characters in your string that match the following regex [ !\"#$%&'()*+,-./:;<=>?@[\]^_{|}~]+. See config.go:294`.

I don't really understand why that is done, as the value at that point already is a string and adding quotations inside a string makes no sense to me.

@joaocostamm
Copy link

Any news about this subject?

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

3 participants