Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-790

URL parameters with empty/null value are ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11.0
    • None
    • None

    Description

      From the logs -
      2016-11-19 01:18:42,973 DEBUG hadoop.gateway (UrlRewriteProcessor.java:rewrite(164)) - Rewrote URL: https://localhost:8443/gateway/sandbox/druid-coordinator/druid/coordinator/v1/servers?simple, direction: IN via implicit rule: DRUID-COORDINATOR/druid-coordinator/inbound/api to URL: http://nbangarw-druid-1:8081/druid/coordinator/v1/servers?simple
      2016-11-19 01:18:42,979 DEBUG hadoop.gateway (DefaultDispatch.java:executeOutboundRequest(120)) - Dispatch request: GET http://nbangarw-druid-1:8081/druid/coordinator/v1/servers?user.name=guest

      Note the final request Dispatched to does not have the parameter simple.

      Attachments

        1. KNOX-790.patch
          3 kB
          Nishant Bangarwa

        Activity

          People

            nishantbangarwa Nishant Bangarwa
            nishantbangarwa Nishant Bangarwa
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: