commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Vanhuyse (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CONFIGURATION-493) Incorrect backslash handling in windows environment variable
Date Thu, 12 Apr 2012 12:53:17 GMT
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

        

Mime
View raw message