Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
configadmin-interpolation-plugin-1.2.0
-
None
Description
configadmin.plugin.interpolation interpreted the default value with "]" wrong:
- $[env:notset;default=[8080]] => [8080]
- $[env:notset;default=[aabb]cc] => [aabbcc]
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:
org.junit.ComparisonFailure: Expected :[aabb]cc Actual :[aabbcc]