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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4-milestone-1
    • Fix Version/s: 5.4-rc-1
    • Component/s: Velocity
    • Labels:
      None
    • Tests:
      Unit
    • Documentation:
      N/A
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: