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 2016/10/06 15:30:20 UTC
[jira] [Commented] (TS-4940) header_rewrite in 6.2.0 doesn't expand
variables properly
[ https://issues.apache.org/jira/browse/TS-4940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15552216#comment-15552216 ]
Leif Hedstrom commented on TS-4940:
-----------------------------------
I think the quotes around "special" characters are required now.
> header_rewrite in 6.2.0 doesn't expand variables properly
> ---------------------------------------------------------
>
> Key: TS-4940
> URL: https://issues.apache.org/jira/browse/TS-4940
> Project: Traffic Server
> Issue Type: Bug
> Components: Plugins
> Reporter: Phillip Moore
>
> We have a header_rewrite.config configured to add some headers for original IP address of requestor.
> {code}
> cond %{SEND_REQUEST_HDR_HOOK}
> rm-header X-Box-Original-Ip
> add-header X-Box-Original-Ip %<chi>
> {code}
> In 5.1.2 this worked fine. With 6.2.0 the expansion is not happening properly and for the header we get a literal %.
> 6.2.0: HTTP_X_BOX_ORIGINAL_IP=%
> 5.1.2: HTTP_X_BOX_ORIGINAL_IP=10.3.18.50
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)