Tim-Blyth-SiteHost

Results 4 comments of Tim-Blyth-SiteHost

I believe a test that covers the cases above should be added, which attempts to load the file using parse_ini_file via PHP. Something like: ```php

Or alternatively allow a no-escape option where it will use the string from val directly so we can do our own escaping before adding the value. The issue I hit...

If using strconv.Quote directly is not possible (as it escapes some characters that may not be desired), the source code would be a good guide to escaping characters https://github.com/golang/go/blob/master/src/strconv/quote.go

Related: https://github.com/go-ini/ini/issues/332