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

Michael Osipov closed MSHARED-292.
----------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period 
of time. If you think this issue still applies, retest your problem with the 
most recent version of Maven and the affected component, reopen and post your 
results.

> Escape filtering of Java System Property variables
> --------------------------------------------------
>
>                 Key: MSHARED-292
>                 URL: https://issues.apache.org/jira/browse/MSHARED-292
>             Project: Maven Shared Components
>          Issue Type: Bug
>         Environment: Maven 3.0.4
> maven-war-plugin:2.4
>            Reporter: James Vaudry
>            Priority: Major
>
> I configured the <escapeString>\</escapeString>
> Input:
> {noformat}
> <properties>
>   <escaped.foo>\${foo}</escaped.foo>
>   <escaped.user.home>\${user.home}</escaped.user.home>
> <properties>
> {noformat}
> File to filter:
> {noformat}
> a=${escaped.foo}
> b=\${foo}
> c=${escaped.user.home}
> d=\${user.home}
> {noformat}
> Expected filtered result:
> {noformat}
> a=${foo}
> b=${foo}
> c=${user.home}
> d=${user.home}
> {noformat}
> Actual filtered result:
> {noformat}
> a=${foo}
> b=${foo}
> c=\/home/username
> d=${user.home}
> {noformat}
> In the above, the result for "c" is incorrect. Notice this only happens when 
> two conditions occur: 
> # The value being substituted is an escaped variable
> # The escaped variable is a Java System Property (user.home, java.home, 
> etc...)



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

Reply via email to