commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CONFIGURATION-408) When I save a URL as a property value, the forward slashes are getting escaped
Date Sun, 14 Mar 2010 14:37:28 GMT

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

Oliver Heger resolved CONFIGURATION-408.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7

The dependency to commons-lang was changed to the new version 2.5. I also added a unit test
to verify that the problem is actually solved.

> When I save a URL as a property value, the forward slashes are getting escaped
> ------------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-408
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-408
>             Project: Commons Configuration
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.6
>         Environment: windows xp sp 3 , java 1.6
>            Reporter: Damien Dallimore
>            Assignee: Oliver Heger
>            Priority: Blocker
>             Fix For: 1.7
>
>
> When I save a URL as a property value, the forward slashes are getting escaped.
> ie: 
> foo = http:\/\/www.google.com\/
> Example Code : 
> public static void main(String[] args)
>   {
>     try
>     {
>       PropertiesConfiguration config = new PropertiesConfiguration();     
>       File newProps = new File("foo.properties");
>       config.setProperty("foo", "http://www.google.com/");     
>       config.save(newProps);
>       
>     }
>     catch (Exception e){}
>   }

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


Mime
View raw message