Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-22261

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 16.6.0-rc-1, 15.10.12, 16.4.2
    • 5.0-milestone-2
    • Index
    • None
    • Unknown
    • N/A
    • N/A
    • Awaiting Committer feedback

    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
      

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

      Attachments

        Activity

          People

            mleduc Manuel Leduc
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: