[
https://issues.apache.org/jira/browse/TS-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13876752#comment-13876752
]
ASF subversion and git services commented on TS-1570:
-----------------------------------------------------
Commit 8141411361fbafffa6aa8329fe5f3adaa8d68549 in branch
refs/heads/test/TS-1570-parse_url-port-fail from [~i.galic]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=8141411 ]
TS-1570: regression test for URLs that should fail
We add a helper function to test urls, and run two sets of arrays now:
One that should succeed, and one that should fail.
Unfortunately, due to issue TS-1570, a port with garbage at the end is
parsed "correctly".
> remap doesn't reject request whose Host has extra characters after port (like
> "test.com:80xxx")
> -----------------------------------------------------------------------------------------------
>
> Key: TS-1570
> URL: https://issues.apache.org/jira/browse/TS-1570
> Project: Traffic Server
> Issue Type: Bug
> Components: HTTP
> Affects Versions: 3.3.0
> Reporter: Conan Wang
> Assignee: Igor Galić
> Priority: Minor
> Fix For: 4.2.0
>
>
> remap.config: map http://test.com http://1.1.1.1
> The request with Host: 'test.com:80xxx' or 'test.com:xxx' will get passed.
> Such host is not filtered strictly.
> Just report, didn't have big problem for me though.
> curl http://127.0.0.1:8080/ -H "Host: test.com:80xxx"
> or curl -x 127.0.0.1:8080 http://test.com:80xxx/ -v
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)