Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.5
-
None
-
None
Description
According to documentation, dots in Keys should be escaped by doubling them. IniConfiguration.getSection() does not always recognise this correctly: When the section already exists, it works as expected. When the section does not exist, escaping is ignored, so
getSection("section.with.dots") will create a section called section.with.dots (consequently, getSection("section..with..dots") creates a sectoin called section..with..dots).
Additionally, the section return by the former call does behave strangely; it will only accept one call to addProperty().