SecureUberspector doesn't work with #foreach (iterators)
--------------------------------------------------------

                 Key: VELOCITY-516
                 URL: https://issues.apache.org/jira/browse/VELOCITY-516
             Project: Velocity
          Issue Type: Bug
          Components: Engine
    Affects Versions: 1.5 beta2
            Reporter: Vincent Massol
            Priority: Critical


When using a #foreach iterating over strings I get: "Cannot retrieve iterator 
from object of class [Ljava.lang.String; due to security restrictions."

The reason is that in the SecureUberspector class there's a call to 
checkObjectExecutePermission() with the second parameter being null. And in 
checkObjectExecutePermission() there's:

{code}
        if (methodName == null)
        {
            return false;
        }
{code}



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to