Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-756

escapeString doesn't work correctly for the 2nd filtering

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.3
    • 3.0.0
    • filtering
    • None

    Description

      If we have a filter file with some escapeString, there are situations that escaping doesn't work.

      For example, you have a filter file with two escaped filters:

      property.double_escaped=prefix \\${id} text-in-the-middle \\${id} suffix

      And that property is used in a config file, for example:

      property.C=${property.double_escaped}

      The result should be:

      property.C=prefix ${id} text-in-the-middle ${id} suffix

      And not this:

      property.C=prefix ${id} text-in-the-middle \{id} suffix

      Attachments

        1. escapeString.zip
          3 kB
          Vítor Moreira

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              vitor.moreira Vítor Moreira
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: