Daniel Xu created TS-4022:
-----------------------------

             Summary: 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 connection 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`

If two remaps are explicitly specified, both should work.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to