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 2012/04/26 17:44:16 UTC

[jira] [Created] (TS-1227) header_filter "set" operator doesn't work if the header doesn't already exist

Leif Hedstrom created TS-1227:
---------------------------------

             Summary: header_filter "set" operator doesn't work if the header doesn't already exist
                 Key: TS-1227
                 URL: https://issues.apache.org/jira/browse/TS-1227
             Project: Traffic Server
          Issue Type: Bug
          Components: Plugins
            Reporter: Leif Hedstrom
            Assignee: Leif Hedstrom
             Fix For: 3.1.4


If you try to forcefully set a header (using the == operators), this only works if the header already exists. The intent of this new operator was to allow to e.g. replace a Host: header, which always is set to begin with. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (TS-1227) header_filter "set" operator doesn't work if the header doesn't already exist

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom resolved TS-1227.
-------------------------------

    Resolution: Fixed

commit cc1773f90df39ffd598658700eaf0f79027bc22e
Author: Leif Hedstrom <zw...@apache.org>
Commit: Leif Hedstrom <zw...@apache.org>

    TS-1227 header_filter "set" operator does not work if the header does not already exist


                
> header_filter "set" operator doesn't work if the header doesn't already exist
> -----------------------------------------------------------------------------
>
>                 Key: TS-1227
>                 URL: https://issues.apache.org/jira/browse/TS-1227
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Plugins
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 3.1.4
>
>
> If you try to forcefully set a header (using the == operators), this only works if the header already exists. The intent of this new operator was to allow to e.g. replace a Host: header, which always is set to begin with. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira