Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7929

dev rest api should allow utf-8 encoded keys

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: rest (dev)
    • Labels:
      None

      Description

      The dev rest api has multiple endpoints that can take region entry keys either as path variables or as query parameters. If the key contains a "/" then it can cause problems with parsing the URL. The normal thing a user should do is utf-8 encode by changing "/" to "%2F". But this will not work since the dev rest api does not decode the keys. It does decode the region name.
      The endpoints that are not decoding keys are:

      GET, PUT, and DELETE on /v1/{region}/{keys}
      POST on /v1/{region}?key={key}
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dschneider Darrel Schneider
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h