Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
14.10.19
-
None
-
Unknown
-
Description
Steps to reproduce:
- Create a page named "Weird; Reference".
- Inspect the HTML and copy the value of the data-xwiki-rest-url attribute of the HTML element.
- Open the copied URL.
Expected result:
The document is returned by the REST API.
Actual result:
An error that the document isn't found is displayed.
This is because the URL in the attribute is /xwiki/rest/wikis/xwiki/spaces/Weird;%20Reference/pages/WebHome while it should be /xwiki/rest/wikis/xwiki/spaces/Weird%3B%20Reference/pages/WebHome/requiredRights.
When opening the correct URL, also all URLs in the XML are wrong apart from the self reference: