PropertiesConfiguration.save() does not support escaping the escape character
-----------------------------------------------------------------------------

                 Key: CONFIGURATION-274
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-274
             Project: Commons Configuration
          Issue Type: Bug
    Affects Versions: 1.4
            Reporter: Oliver Heger
         Assigned To: Oliver Heger
            Priority: Minor
             Fix For: 1.5


When a new property is added to a PropertiesConfiguration, it is possible to 
escape the escaping character for list delimiters, e.g.

conf.addProperty("test.dirs", "C:\\Temp\\\\,D:\\Data\\");

Here the Backslash after Temp must be escaped, otherwise the list delimiter 
won't be recognized. This works, but when the configuration is saved and loaded 
again, the backslash that escapes the escape character is dropped. The property 
is then treated as a single value property with an escaped list delimiter.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to