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

header_rewrite: Does not detect a Statement without a predicate as an error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 7.2.0
    • Plugins
    • None

    Description

      For example, this config silently fails with no errors, and worse, leaves the parser in a potentially erroneous state (causing subsequent rules to be wrong):

      cond %{READ_REQUEST_HDR_HOOK}
        X-Some-Header "zwoop"
      

      Yes, it's obviously a config error (it should have a "set-header" predicate), but we should detect this.

      Attachments

        Activity

          People

            jaript Jari Alhonen
            zwoop Leif Hedstrom
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: