Incorrect backslash handling in windows environment variable
------------------------------------------------------------

                 Key: CONFIGURATION-493
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-493
             Project: Commons Configuration
          Issue Type: Bug
    Affects Versions: 1.8
            Reporter: Patrick Vanhuyse
             Fix For: 1.7


Windows environment variable :
DFSROOT=\\DFSROOT\BEG

Properties file :
Personnel.jdbc.url = jdbc:odbc:Driver={Microsoft Access Driver 
(*.mdb)};DBQ=${DFSROOT}/databases/personnel.mdb

Value returned...

...using 1.8 (incorrect) :
jdbc:odbc:Driver={Microsoft Access Driver 
(*.mdb)};DBQ=\DFSROOT\BEG/databases/personnel.mdb

...using 1.7 (correct) :
jdbc:odbc:Driver={Microsoft Access Driver 
(*.mdb)};DBQ=\\DFSROOT\BEG/databases/personnel.mdb


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to