You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Daniel Xu (JIRA)" <ji...@apache.org> on 2015/11/13 18:06:11 UTC

[jira] [Created] (TS-4022) Incorrect behavior with remap prefix matching

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)