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

Incorrect encoding of non-ASCII characters in REST API URLs

    Details

    • Steps to Reproduce:
      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.

      Description

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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  hchiorean Horia Chiorean
                  Reporter:
                  eldaryus Eldar Yusupov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: