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

{code} macro executes velocity code now

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.0 B3
    • Fix Version/s: 1.0 B4
    • Component/s: {Unused} Core
    • Labels:
      None
    • Similar issues:

      Description

      On the http://www.xwiki.org/xwiki/bin/view/Code/ListAllSpacesSnippet page, the following code below is executed instead of being escaped. This was working fine at least in Beta 1 when I created that page. It started failing in beta 2 or beta 3.

      {code}
      #set($spaces = $xwiki.spaces)
      #foreach($space in $spaces)
      * [$space>${space}.WebHome]
      #end
      {code}
      

      Am I missing something? Is it normal that it's not escaped anymore?

        Attachments

          Activity

            People

            Assignee:
            vmassol Vincent Massol
            Reporter:
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: