struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jasper Rosenberg (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-4489) Simplify DefaultExcludedPatternsChecker class pattern
Date Thu, 09 Apr 2015 11:44:12 GMT
Jasper Rosenberg created WW-4489:
------------------------------------

             Summary: Simplify DefaultExcludedPatternsChecker class pattern
                 Key: WW-4489
                 URL: https://issues.apache.org/jira/browse/WW-4489
             Project: Struts 2
          Issue Type: Bug
          Components: Core Interceptors
    Affects Versions: 2.3.23, 2.3.20
            Reporter: Jasper Rosenberg
            Priority: Minor


The current pattern that matches class expressions looks like:
{code:java}"(.*\\.|^|.*|\\[('|\"))\\bclass(\\.|('|\")]|\\[).*"{code}

However, as far as I can tell, this is completely equivalent to:
{code:java}".*\\bclass(\\.|('|\")]|\\[).*"{code}

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message