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

Simplify DefaultExcludedPatternsChecker class pattern

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.20
    • Fix Version/s: 2.3.24
    • Component/s: Core Interceptors
    • Labels:
      None

      Description

      The current pattern that matches class expressions looks like:

      "(.*\\.|^|.*|\\[('|\"))\\bclass(\\.|('|\")]|\\[).*"

      However, as far as I can tell, this is completely equivalent to:

      ".*\\bclass(\\.|('|\")]|\\[).*"

      Not sure if this is a bug, or an improvement.

        Attachments

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              perfnorm Jasper Rosenberg

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment