Details
-
Bug
-
Resolution: Fixed
-
Minor
-
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
- depends on
-
XWIKI-3211 Introduce XWikiDocument.getXDOM
- Closed