You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vítor Moreira (JIRA)" <ji...@codehaus.org> on 2015/03/18 13:54:18 UTC
[jira] (MASSEMBLY-756) escapeString doesn't work correctly for the
2nd filtering
Vítor Moreira created MASSEMBLY-756:
---------------------------------------
Summary: escapeString doesn't work correctly for the 2nd filtering
Key: MASSEMBLY-756
URL: https://jira.codehaus.org/browse/MASSEMBLY-756
Project: Maven Assembly Plugin
Issue Type: Bug
Components: filtering
Affects Versions: 2.5.3
Reporter: Vítor Moreira
Priority: Minor
Attachments: escapeString.zip
If we have a filter file with some escapeString, there are situations that escaping doesn't work.
For example, you have a filter file with two escaped filters:
{code}property.double_escaped=prefix \\${id} text-in-the-middle \\${id} suffix{code}
And that property is used in a config file, for example:
{code}property.C=${property.double_escaped}{code}
The result should be:
{code}property.C=prefix ${id} text-in-the-middle ${id} suffix{code}
And not this:
{code}property.C=prefix ${id} text-in-the-middle \{id} suffix{code}
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)