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

escaped characters in the URI are not honored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 2.6 GA
    • Gateway
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • +

      If we have a mapping rule like /foo/

      {bar}

      /baz
      when we run curl "apicast.url/foo/bar%20%20bar/baz" we get a 404 error.

      This is because here(https://github.com/3scale/APIcast/blob/68faa71/gateway/src/apicast/proxy.lua#L245) we use ngx.var.uri that unescape HTML chars.

              Unassigned Unassigned
              rhn-support-cpalmier Carlo Palmieri (Inactive)
              Carlo Palmieri Carlo Palmieri (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: