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
If a value contains the "=" character, the library will write it to the output file without escaping it. This causes PHP to fail when attempting to load the .ini file with the error PHP Warning: syntax error, unexpected '=' in test.ini on line 27
Version
go1.19.3 linux/amd64
Describe the bug
If a value contains the "=" character, the library will write it to the output file without escaping it. This causes PHP to fail when attempting to load the .ini file with the error
PHP Warning: syntax error, unexpected '=' in test.ini on line 27
To reproduce
writeini.go
:testini.php
:Expected behavior
The library should wrap values with
=
characters in quotes, like it does for other charactersAdditional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: