Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4022

Incorrect behavior with remap prefix matching

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • Remap API
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            danobi Daniel Xu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: