Cannot copy the page using a direct copy page URL

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • None
    • Affects Version/s: 7.19.14
    • Component/s: Other
    • 4
    • Severity 3 - Minor
    • 3

      Issue Summary

      • In previous versions (for instance 7.13.7) we were able to create a copy of the page directly using the copy page URL - <confluence-url>/pages/copypage.action?idOfPageToCopy=<pageId>&spaceKey=<spaceKey> but this functionality is not working in the recent Confluence instances
      • The issue was introduced as part of the security fixes - CONFSERVER-81222 and CONFSERVER-81217

      Steps to Reproduce

      1. Create a new page and add some content.
      2. On the same page insert a link (copy page URL) - <confluence-url>/pages/copypage.action?idOfPageToCopy=<pageId>&spaceKey=<spaceKey>
      3. Save the page
      4. Hit the link and it throws an error - HTTP response code 405 (Method not allowed)

      Expected Results

      • A copy of the page should get created when we hit the link - <confluence-url>/pages/copypage.action?idOfPageToCopy=<pageId>&spaceKey=<spaceKey>{}

      Actual Results

      • We get HTTP error 405 for the GET request (copypage.action) when we try to click on the link
        405	—	—	[HTML][ERROR][CACHE ??]	560 ms	
        ‡
        GET https://linux-54863.prod.atl-cd.net/confluence/pages/copypage.action
        

      Workaround

      • Currently, there is no known workaround for this behaviour. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Ravi Dixit
            Votes:
            20 Vote for this issue
            Watchers:
            23 Start watching this issue

              Created:
              Updated: