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

Introduce a utility component to check if a string contains Velocity code

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 15.9-rc-1
    • 15.8
    • Velocity
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Introduce a utility component to check if a string contains Velocity code. The intended usage is to skip Velocity execution including the context setup if a string doesn't contain any Velocity code, anyways. Further, this can be used to check if a string contains potentially dangerous Velocity code to warn users before executing it.

      Attachments

        Activity

          People

            MichaelHamann Michael Hamann
            MichaelHamann Michael Hamann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: