commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amitabh Pandey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CONFIGURATION-700) Issue With backslash(\) and Forwardslash(/)
Date Tue, 08 May 2018 05:09:00 GMT
Amitabh Pandey created CONFIGURATION-700:
--------------------------------------------

             Summary: Issue With backslash(\) and Forwardslash(/)
                 Key: CONFIGURATION-700
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-700
             Project: Commons Configuration
          Issue Type: Bug
          Components: Build
    Affects Versions: 1.10
            Reporter: Amitabh Pandey
             Fix For: 1.10


Dear Team,

I am using commons-configuration-1.10.jar for updating property file in java.

I have achieve all my requirement(Preserve comment, White space) with this API.But stuck at
one point.It is not working as per my expectations with slash.Below is one example.

I have below url in my properties file.

C\:\\ABC.net

Now it is getting change to below after modification

C:\/\/ABC.net

Means it is removing the backslash and changing forwardslash to \/.I know it is escaping character.
But is there any way to prevent this. I cant not change any thing in property file. I have
to handle through code only. Because of only this issue I again moved to Java util API.

Please check fix of this. Rest is excellent.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message