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

dev rest api should allow utf-8 encoded keys

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • rest (dev)
    • 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

              Unassigned Unassigned
              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