Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4162

Don't check for disallowed ognl expressions if getting from expression cache

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.15.1
    • 2.3.16
    • Expression Language
    • Patch

    Description

      When the ognl expression cache is enabled, when there is a cache hit, we don't need to have the overhead of traversing the tree to see if there is a disallowed expression. I've attached a simple patch.

      Attachments

        1. OgnlUtil.java.patch
          1 kB
          Jasper Rosenberg

        Activity

          People

            lukaszlenart Lukasz Lenart
            perfnorm Jasper Rosenberg
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: