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

Comments and line continuations in remap.config is bad mojo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • sometime
    • Configuration, Core

    Description

      If you do a line continuation on a commented out line in remap.config, it'll still suck up the following line into the comment. This is less than ideal. As an example, this does not work

      map http://example.com http://real.example.com \
          # @plugin=conf_remap.so @pparam= ... \
          @plugin=header_rewrite.so @pparam= ...
      

      The issue being that the second plugin line gets sucked into the comment.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zwoop Leif Hedstrom
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: