4 Commits
Author SHA1 Message Date
dualfroz 84068056c8 Describe this repository 2026-10-22 21:02:26 +02:00
dualfroz 798326082f feat: add get_section to return a section's keys and values 2026-10-02 16:29:46 +02:00
dualfroz 71e7f66418 fix: avoid panic when parsing with a multi-byte delimiter
Ini::parse split the value using delimiter + 1, assuming the delimiter
occupies a single byte. With a multi-byte UTF-8 delimiter this offset lands
inside the delimiter character, and slicing the string there panics. Advance
by the delimiter's actual UTF-8 length instead.
2026-09-04 09:28:35 +02:00
dualfroz 602b3965ae fix: avoid panic when parsing with a multi-byte delimiter
Ini::parse split the value using delimiter + 1, assuming the delimiter
occupies a single byte. With a multi-byte UTF-8 delimiter this offset lands
inside the delimiter character, and slicing the string there panics. Advance
by the delimiter's actual UTF-8 length instead.
2026-09-06 16:49:10 +02:00