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
Priority: Blocker
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.