[
https://issues.apache.org/jira/browse/TS-4022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15004670#comment-15004670
]
Alan M. Carroll commented on TS-4022:
-------------------------------------
Yes, What Leif describes is the designed behavior. I thought when we talked
about this you were getting 404 / Not Found On Accelerator errors with leading
digits in the URL path.
> Incorrect behavior with remap prefix matching
> ---------------------------------------------
>
> Key: TS-4022
> URL: https://issues.apache.org/jira/browse/TS-4022
> Project: Traffic Server
> Issue Type: Bug
> Components: Remap API
> Reporter: Daniel Xu
>
> If you have two remap rules like this:
> `map https://localhost:8081/1 https://httpbin.org/html`
> `map https://localhost:8081/10 https://httpbin.org/html`
> When connecting to `https://localhost:8081/10`, ATS will first replace
> `https://localhost:8081/1` with `https://httpbin.org/html`, and then append
> the `0` to the end.
> So your final URI will look like:
> `https://httpbin.org/html0`, which should not be the case.
> If two remaps are explicitly specified, both should work.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)