Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-90

Jexl parser allows invalid expressions, e.g. "a=1 b=2 3"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.0
    • None

    Description

      The current 2.0 branch (SVN rev 809337) includes changes to allow the final ";" to be omitted from statements, however the change also allows a script such as the following to pass:

      a=1 b=2 3

      The parser should insist on statement terminators, e.g.

      a=1; b=2; 3

      Attachments

        Activity

          People

            henrib Henri Biestro
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: