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

Cancel edit JavaScript handler doesn't check if the URL fragment is present before appending the query string

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.4, 2.3 M2
    • Fix Version/s: 2.3 RC1, 2.2.5
    • Labels:
      None
    • Environment:
      JSR286 Compatible Portal
    • Difficulty:
      Easy
    • Similar issues:

      Description

      In onCancel handler from actionbuttons.js the query string is appended without checking if the action URL ends with a fragment identifier. This can happen when XWiki runs in portlet mode and the portal adds fragment identifiers to the portlet URL in order to scroll the page to the targeted portlet.

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              mflorea Marius Dumitru Florea
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: