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

URL parameters with empty/null value are ignored

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: