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

{code} macro executes velocity code now

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 1.0 B3
    • {Unused} Core
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: