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

Document.getLinkedPages() returns non-link entries

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.8 RC1
    • 0.9.840
    • None
    • Win2k3, Solaris 10/SPARC, Solaris 10/x86
      Tomcat 5
      MySQL 5.0
    • Unit

    Description

      If there is JavaScript on a page, the getLinkedPages method often interprets javascript subscript expressions as XWiki document names and returns them.

      This is irrespective of whether the

      {pre}

      tag surrounds the script, since the search is a simple regex for anything inside a pair of brackets that lexically qualifies as an XWiki doc name on the unrendered content.

      XWiki.XWikiCommonJavaScript (at least in 0.9.840) contains several examples.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              macsentropy Brian M. Thomas
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: