Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2258

Incorrect encoding of non-ASCII characters in REST API URLs

XMLWordPrintable

    • Hide

      Creating a node "Тест" (russian for Test).
      Go to <repo_url>/default/items, observe the following JSON being generated:
      "Тест":

      { "self": "<repo_url>/default/items/%u00002%u00005%u00001%u00002", "up": "<repo_url>/default/items/", "id": "f65aa4ed-759d-4445-ae3f-b8ba304876ab" }

      ,
      Try following the self link, receive a 404 error.

      Show
      Creating a node "Тест" (russian for Test). Go to <repo_url>/default/items, observe the following JSON being generated: "Тест": { "self": "<repo_url>/default/items/%u00002%u00005%u00001%u00002", "up": "<repo_url>/default/items/", "id": "f65aa4ed-759d-4445-ae3f-b8ba304876ab" } , Try following the self link, receive a 404 error.

      when I use non-ASCII symbols for nodes, the links generated in Modeshape REST API don't work (tested in Firefox).

              hchiorean Horia Chiorean (Inactive)
              eldaryus Eldar Yusupov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: