commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joerg Schaible (JIRA)" <>
Subject [jira] [Commented] (CONFIGURATION-448) INI config can't have = in the value when using : seperators
Date Fri, 29 Apr 2011 06:02:03 GMT


Joerg Schaible commented on CONFIGURATION-448:

Using ':' as key separator is actually not really defined. It's not supported by Windows and
is based on extensions other companies/people made. Therefore I can understand that the current
implementation gives '=' more precedence. However, you should be able to quote the value:

password: "abc=123:D"

Nevertheless, the implementation could be smarter in this case, since spaces are not allowed
in the key and it could look for the separator character in the first character sequence containing
no spaces.

> 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
> 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