Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-516

The list of allowed Class methods is way too restrictive in Velocity default configuration

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 5.4-rc-1
    • 5.4-milestone-1
    • Velocity
    • None
    • Unit
    • N/A

    Description

      The only thing allowed is Class#getName() (and not even the short name form...).

      Things like isInstance and isAssignableFrom (as well as most of the is* methods) would also be useful and are in no way security issues.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: