Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-4904

APIAP routing policy should only match paths that contain whole routing path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 2.8 GA
    • System
    • None
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • +

    Description

      Product with default mapping rule "/"

      Have 2 separate backends:

      • path to Backend 1: "/test/bin" with backend mapping rule "/anything/test"
      • path to Backend 2: "/bin" with backend mapping rule "/anything/bin"

      Request to path:

      • "/test/bin/anything/test" should have status code 200
      • "/bin/anything/bin" should have status code 200
      • "/test/bin/anything/bin" should have status code 404 but have 200
      • "/bin/anything/test" should have status code 404 but have 200

      Issue:

      • From path "/test/bin/anything/bin" routing policy matches part "/bin/anything/bin" to backend "/bin" + "/anything/bin"
      • Routing policy matches path "/bin/anything/test" to backend "/test/bin/" +anything/test"

      Attachments

        Activity

          People

            Unassigned Unassigned
            jaurban Jakub Urban
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: