Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3023

Support space separated values in inline plugin parameters in remap rules

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.2.0
    • Core
    • None

    Description

      While reviewing and testing TS-2947, Leif found that, space separated values are not supported correctly for inline plugin params whereas, they work as expected when specified in the config file.

      For example,

      @pparam=proxy.config.foo='bar beer' results only in setting proxy.config.foo=bar

      whereas

      CONFIG proxy.config.foo STRING 'bar beer' results in setting proxy.config.foo='bar beer'

      Further analysis revealed that the limitation is in parsing/tokenizing the input, which always treats space or tab as delimiters, regardless of whether they are included within quotes.

      Attachments

        1. TS-3023.diff
          3 kB
          Sudheer Vinukonda

        Activity

          People

            sudheerv Sudheer Vinukonda
            sudheerv Sudheer Vinukonda
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: