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

Velocity Macro sandboxing issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 2.2
    • Velocity
    • None
    • Unknown

    Description

      Take this use case:

      1/ A page A in wiki 1 defined the macro #livetable which is also defined in macros.vm
      2/ A page B in wiki 2 uses the macro #livetable

      Visit page A in wiki 1
      Visit page B in wiki 2 -> the livetable macro used in the one from wiki 1

      This use case also works in the same wiki but is particularly annoying in multiwiki as wikis should be sandboxed.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              ludovic Ludovic Dubost
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: