Description
reproduce step:
- create a page whose fullname contains a dot(.) like xxx.com
- like this page
- redirect to user profile who like the page
Notes:
Seems to be caused by line-breaks being placed at odd places in the parsed JSON (e.g., between line 6 and 7):
{ "totalrows": 1, "returnedrows": 1, "offset": 1, "reqNo": 1, "rows": [{"doc_viewable":true,"doc_name":"WebHome","doc_fullName":"xwiki:a .b.WebHome","doc_location":" <ol class=\"breadcrumb breadcrumb-expandable\" data-entity='a .b.WebHome' data-limit='5' data-plain='false' data-local='true' data-displaytitle='false'><li\n class=\"active space\"><a href=\"http:\/\/localhost:8080\/xwiki\/bin\/view\/a.b\/\"\n >a.b<\/a> <\/li><\/ol>\n ","doc_space":"a .b","doc_url":"http:\/\/localhost:8080\/xwiki\/bin\/view\/a.b\/","doc_space_url":"http:\/\/localhost:8080\/xwiki\/bin\/view\/a%5C.b\/","doc_wiki":"xwiki","doc_wiki_url":"http:\/\/localhost:8080\/xwiki\/bin\/view\/Main\/","doc_author_url":"http:\/\/localhost:8080\/xwiki\/bin\/view\/XWiki\/Admin","doc_date":"2023\/02\/20 10:37","doc_title":"a.b","doc_author":"Administrator","doc_creationDate":"2023\/02\/20 10:37","doc_creator":"Administrator","like":1}] }
This is not a regression, 13.3-rc-1 also has the issue with a Livedata.
Attachments
Issue Links
- is caused by
-
XWIKI-18598 Replace the like pages live table in the user profiles with live data
- Closed
- is duplicated by
-
XWIKI-19901 Liked page whose FULLNAME contains dot(.) can not show in user profile.
- Closed
-
XWIKI-20639 Liked Documents with dots in the file name / title produce give unintelligible messages when user profile is shown
- Closed
- relates to
-
XWIKI-20611 Privilege escalation (PR) from account through like LiveTableResults
- Closed