Error in page body, when trying access a moved page using pretty format of the page URL when ../ is included in the code block macro

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 9.2.7, 9.2.11
    • Component/s: Content - Page
    • None
    • 1
    • Severity 3 - Minor

      Issue Summary

      Seeing an error "($action.stripToPlainText($page.bodyAsString))" in the page body when trying to access a moved page using pretty format, when " ../ " is included in the code block macro on the page.

      Steps to Reproduce

      1. Create a page which has a code block macro and ../ content in the macro
      2. Then, copy the page URL : URL would be something like: https://XXXXX/spaces/TM/pages/2031623/testing+macro
      3. Move this page to a different space
      4. Now try to access the page using the pretty URL format: https://confluence.example.com/display/SPACEKEY/Page+Title

      If we don't have ../ in code block macro, we see the page body without any issues.

      Expected Results

      No errors should be seen

      Actual Results

      Loom video link showing the actual results: https://www.loom.com/share/8b8478523029448c94fbd6748da67b03

      Workaround

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

            Assignee:
            Unassigned
            Reporter:
            Hima Bindu Ramisetty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: