Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-6256

Parsing string arrays in org.apache.karaf.management.cfg doesn't ignore spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.3.0
    • 4.3.0, 4.2.6
    • karaf
    • None

    Description

      I can define "string array" properties in org.apache.karaf.management.cfg (e.g. enabledProtocols)

      If I define enabledProtocols=TLSv1.2,TLSv1.1 everything is right. (Parsed values are "TLSv1.2" and "TLSv1.1")
      But when I define enabledProtocols=TLSv1.2, TLSv1.1, array is parsed as "TLSv1.2" and " TLSv1.1", which is wrong.

      Correct behavior: white spaces in "string arrays" should be ignored.

      Attachments

        Issue Links

          Activity

            People

              ggrzybek Grzegorz Grzybek
              jondruse Jiri Ondrusek
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: