struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcucchi...@apache.org
Subject svn commit: r1173228 - /struts/struts2/trunk/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/entities/FileBasedView.java
Date Tue, 20 Sep 2011 16:30:13 GMT
Author: mcucchiara
Date: Tue Sep 20 16:30:13 2011
New Revision: 1173228

URL: http://svn.apache.org/viewvc?rev=1173228&view=rev
Log:
Removed redundant escape sequence

Modified:
    struts/struts2/trunk/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/entities/FileBasedView.java

Modified: struts/struts2/trunk/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/entities/FileBasedView.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/entities/FileBasedView.java?rev=1173228&r1=1173227&r2=1173228&view=diff
==============================================================================
--- struts/struts2/trunk/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/entities/FileBasedView.java
(original)
+++ struts/struts2/trunk/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/entities/FileBasedView.java
Tue Sep 20 16:30:13 2011
@@ -68,7 +68,7 @@ public abstract class FileBasedView impl
         // FIXME: work with new configuration style
         //Object ext = Settings.get(StrutsConstants.STRUTS_ACTION_EXTENSION);
         String ext = "action";
-        String actionRegex = "([A-Za-z0-9\\._\\-\\!]+\\." + ext + ")";
+        String actionRegex = "([A-Za-z0-9\\._\\-!]+\\." + ext + ")";
         return Pattern.compile(actionRegex);
     }
 



Mime
View raw message