Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
12.10.11
-
None
-
Windows 11 Pro, Firefox 129, using a local instance of XWiki 16.4.2 on Oracle 19c, Tomcat 9.0.93
-
Unknown
-
Description
Steps to reproduce
- Insert the following content into a page in wiki/source mode:
[[link to page with new line>>Parent.Chi ld.WebHome]]
- Save the page
- Create the child page from the missing link
- Go to the created page <server>/xwiki/bin/view/Parent/Chi%0Ald/ and click on 'Information' tab
- Observe the previously created child page reference
- Click the button to copy the reference to clipboard
- Go to another page and paste it into a link as a document reference
Expected results
The document reference contains the correct name of the page, e.g.:
Parent.Chi%0Ald.WebHome
Any link created that contains this reference is valid and leads correctly to the target document.
Actual results
The page reference doesn't contain the "newline" special character, it displays the reference as:
Parent.Child.WebHome
Therefore, if the reference is used in a link it leads to a non-existent page.
The issue was reproduced also on XWiki 16.6.0, 16.4.2, 15.10.11 and 12.10.11, but it may be older.