You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2013/12/05 15:50:41 UTC

[jira] [Resolved] (FELIX-4339) Make the use of escape characters deterministic

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

Guillaume Nodet resolved FELIX-4339.
------------------------------------

       Resolution: Fixed
    Fix Version/s: utils-1.4.2
         Assignee: Guillaume Nodet

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
	M	utils/src/main/java/org/apache/felix/utils/properties/InterpolationHelper.java
	M	utils/src/test/java/org/apache/felix/utils/properties/InterpolationHelperTest.java
Committed r1548158


> Make the use of escape characters deterministic
> -----------------------------------------------
>
>                 Key: FELIX-4339
>                 URL: https://issues.apache.org/jira/browse/FELIX-4339
>             Project: Felix
>          Issue Type: Improvement
>          Components: File Install
>    Affects Versions: fileinstall-3.2.6
>            Reporter: Bengt Rodehav
>            Assignee: Guillaume Nodet
>             Fix For: utils-1.4.2
>
>
> The number of escape characters needed depends on from where the property is referenced. This is because the substitution of variables can be done several times for each property causing escaped characters to become unescaped.
> This is not trivial to fix but I think that some kind of deterministic behavior must be supported.
> This has been described in more detail in the following conversation on the Felix user mailing list:
> http://www.mail-archive.com/users@felix.apache.org/msg14804.html



--
This message was sent by Atlassian JIRA
(v6.1#6144)