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

mapping rule defined on backend is not matched if url contains multiple slashes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 2.7 CR2
    • Gateway
    • None
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

      I've defined product-backend object with path '/pokus' and backend with mapping rule '//hokus' which should create url like 'https://hostname:port/pokus//hokus' which is valid but doesn't work. In attachment you can find Apicast debug log named 'f' and proxy configuration named 'g'.
      Multiple slashes included in url without any delimiter are OK, see https://tools.ietf.org/html/rfc3986#section-3.3

        1. f
          36 kB
          Martin Kudlej
        2. g
          4 kB
          Martin Kudlej

            Unassigned Unassigned
            mkudlej@redhat.com Martin Kudlej
            Eloy Coto Eloy Coto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: