[ 
https://issues.apache.org/jira/browse/TS-2531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13912249#comment-13912249
 ] 

ASF subversion and git services commented on TS-2531:
-----------------------------------------------------

Commit 37ff55f7cacd99a021615ff36c98ee2ba8e6dbed in trafficserver's branch 
refs/heads/master from Bing W Wang
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=37ff55f ]

TS-2531: add a nohost_rule check for proxy request


> The default remap rule doesn't match a forward proxy request
> ------------------------------------------------------------
>
>                 Key: TS-2531
>                 URL: https://issues.apache.org/jira/browse/TS-2531
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>            Reporter: Bryan Call
>            Assignee: Bryan Call
>              Labels: Review
>             Fix For: 5.0.0
>
>         Attachments: 0001-fix-bug-TS_2531.patch
>
>
> when doing a forward proxy request it won't math the default rule, but will 
> match other rules that specify the hostname.
> Example request:
> GET http://foo.yahoo.com HTTP/1.1
> Host: foo.yahoo.com
> remap.config:
> map / http://www.yahoo.com
> Response:
> HTTP/1.1 404 Not Found
> ...
> ------------
> However, this works:
> remap.config:
> map http://foo.yahoo.com http://www.yahoo.com



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

Reply via email to