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

ConfigurationHandler improperly removes backslashes because it treats them as escape characters

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Configuration Admin
    • Labels:
      None

      Description

      We use Felix in our Karaf project. I noticed when using a Windows-style path as a configuration, the backslashes were getting removed. I think I tracked it to the ConfigurationHandler. I wrote some unit tests to highlight the issue and came up with a fix. It can be found here https://github.com/apache/felix/pull/136

       

      I have not verified that it fixes my issue, but I think the unit tests highlight a bug anyway. My changes do not cause any of the other unit tests to fail.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              harrison-tarr Harrison Tarr
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: