Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-516

SecureUberspector doesn't work with #foreach (iterators)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.5 beta2
    • 1.5
    • Engine
    • None

    Description

      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:

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

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

            henning Henning Schmiedehausen
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: