commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Created: (JEXL-90) Jexl parser allows invalid expressions, e.g. "a=1 b=2 3"
Date Tue, 01 Sep 2009 09:15:32 GMT
Jexl parser allows invalid expressions, e.g. "a=1 b=2 3"
--------------------------------------------------------

                 Key: JEXL-90
                 URL: https://issues.apache.org/jira/browse/JEXL-90
             Project: Commons JEXL
          Issue Type: Bug
            Reporter: Sebb
            Priority: Critical
             Fix For: 2.0


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message