You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2014/01/29 22:32:09 UTC

[jira] [Created] (TS-2540) header_rewrite: Does not detect a Statement without a predicated as an error

Leif Hedstrom created TS-2540:
---------------------------------

             Summary: header_rewrite: Does not detect a Statement without a predicated as an error
                 Key: TS-2540
                 URL: https://issues.apache.org/jira/browse/TS-2540
             Project: Traffic Server
          Issue Type: Bug
          Components: Plugins
            Reporter: Leif Hedstrom


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):

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

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



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)