This issue has been created
There are 4 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-dce2dbb9-16ae-456f-828a-74ca6d7e3192 XWIKI-22261 Open

Deleted pages table table of the page index generates invalid links to permanently delete pages

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-af7a41ee-1deb-4320-9726-477b85ff82fc Manuel Leduc created this issue on 13/Jun/24 15:44
 
Summary: Deleted pages table table of the page index generates invalid links to permanently delete pages
Issue Type: cid:jira-generated-image-avatar-dce2dbb9-16ae-456f-828a-74ca6d7e3192 Bug
Affects Versions: 5.0-milestone-2
Assignee: Unassigned
Components: Index
Created: 13/Jun/24 15:44
Priority: cid:jira-generated-image-static-major-34ed6412-9a9a-4abf-8e94-cada9e8670cb Major
Reporter: Manuel Leduc
Description:

Reproduction steps

  • delete a page
  • go to the "Deleted pages" tab of the page index
  • deactivate javascript on your browser
  • inspect the href value of the delete link of any entry of the table

Expected

The href content is wellformed

Actual

The href content contains to question marks

/xwiki/bin/delete/MyPage/WebHome?id=2&xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2FAllDocs?view%3DdeletedDocs
 
 

4 updates

 
cid:jira-generated-image-avatar-af7a41ee-1deb-4320-9726-477b85ff82fc Changes by Manuel Leduc on 13/Jun/24 15:44
 
Fix Version: 16.5.0
Fix Version: 15.10.11
Description: h2. Reproduction steps
* delete a page
* go to the "Deleted pages" tab of the page index
* deactivate javascript on your browser
* inspect the href value of the delete link of any entry of the table

h2. Expected
The href content is wellformed

h3. Actual

The href content contains to question marks

{noformat}
/xwiki/bin/delete/MyPage/WebHome?id=2&xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2FAllDocs?view%3DdeletedDocs
{noformat}


Note: despite the badly formed href, it's is still possible to use the delete action to permanently delete a page without javascript.
Assignee: Manuel Leduc