You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2021/09/04 14:48:00 UTC

[jira] [Resolved] (FELIX-6455) configadmin.plugin.interpolation: default Value with "]" is interpreted wrong

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

Carsten Ziegeler resolved FELIX-6455.
-------------------------------------
    Resolution: Fixed

Added support for escaping in
https://github.com/apache/felix-dev/commit/6c4ef7179e64ba0db05e25a1e3502f8f5f0f80d2

> configadmin.plugin.interpolation: default Value with "]" is interpreted wrong
> -----------------------------------------------------------------------------
>
>                 Key: FELIX-6455
>                 URL: https://issues.apache.org/jira/browse/FELIX-6455
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>    Affects Versions: configadmin-interpolation-plugin-1.2.0
>            Reporter: guiquan weng
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: configadmin-interpolation-plugin-1.2.2
>
>
> configadmin.plugin.interpolation interpreted the default value with "]" wrong:
>  * $[env:notset;default=[8080]]        => [8080](/)
>  * $[env:notset;default=[aabb]cc]     => [aabbcc] (x)
> To show the bug I have created a branch with a unit test: [https://github.com/apache/felix-dev/compare/master...orangeven:bugfix/configadmin-plugins-interpolation-default-value-with-special-chars?expand=1]
> Line 162 failed with message:
> {noformat}
> org.junit.ComparisonFailure: 
> Expected :[aabb]cc
> Actual :[aabbcc]{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)