maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy (*$^¨%`£) (JIRA) <j...@apache.org>
Subject [jira] [Closed] (MASSEMBLY-756) escapeString doesn't work correctly for the 2nd filtering
Date Wed, 09 Nov 2016 02:05:58 GMT

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

Olivier Lamy (*$^¨%`£) closed MASSEMBLY-756.
--------------------------------------------
    Resolution: Fixed

use last plexus-interpolation 1.24 version

> escapeString doesn't work correctly for the 2nd filtering
> ---------------------------------------------------------
>
>                 Key: MASSEMBLY-756
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-756
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>          Components: filtering
>    Affects Versions: 2.5.3
>            Reporter: Vítor Moreira
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>             Fix For: 3.0.0
>
>         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.3.4#6332)

Mime
View raw message