commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <>
Subject [jira] [Resolved] (CONFIGURATION-448) INI config can't have = in the value when using : seperators
Date Tue, 10 May 2011 05:54:03 GMT


Oliver Heger resolved CONFIGURATION-448.

       Resolution: Fixed
    Fix Version/s: 1.7

Fixed in subversion in revision 1101319.

The handling of separators has been made a bit smarter. Per default, the first separator character
encountered in the line is used. This will solve your problem with the password property.
It is now also possible to change this default behavior by using quotation marks: If a quote
character is found and before that a separator, this separator character is used. This makes
is possible to have separator characters in keys. For instance, the line

key:1 = "MyValue"

is split into key = _key:1_ and value = _MyValue_.

> INI config can't have = in the value when using : seperators
> ------------------------------------------------------------
>                 Key: CONFIGURATION-448
>                 URL:
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 1.6
>            Reporter: Mike Deeks
>            Assignee: Oliver Heger
>             Fix For: 1.7
> If I load an INI file with these values:
> username: identity
> password: abc=123:D
> It actually considers the second line to have the key "password: abc" and the value "123:G".

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message