Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-6455

configadmin.plugin.interpolation: default Value with "]" is interpreted wrong

    XMLWordPrintableJSON

Details

    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]

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            weng.guiquan guiquan weng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: