You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
value parsed incorrectly when a comment symbol (#) is inside a quoted string #393
Nothing should be stripped after # if it appears inside a quoted string.
Additional context
I tried to take a quick look at the code and I suspect the issue is in the code block below. It seems to me that the logic that strips the comment doesn't take into account that the comment symbol could be inside a quoted string.
Fixed in v2 by #435, and will be in the next v2 pre-release after v2.0.0-beta.2. v2 is imported as unknwon.dev/ini/v2; see the migration guide for upgrading from v1.
Activity
unknwon commentedon Nov 11, 2026
Fixed in v2 by #435, and will be in the next v2 pre-release after v2.0.0-beta.2. v2 is imported as
unknwon.dev/ini/v2; see the migration guide for upgrading from v1.