[ 
https://issues.apache.org/jira/browse/CONFIGURATION-448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

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

{code}
key:1 = "MyValue"
{code}

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

> INI config can't have = in the value when using : seperators
> ------------------------------------------------------------
>
>                 Key: CONFIGURATION-448
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-448
>             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: http://www.atlassian.com/software/jira

Reply via email to