You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2013/12/13 15:34:42 UTC

svn commit: r1550740 - /tomcat/trunk/java/org/apache/jasper/compiler/TagLibraryInfoImpl.java

Author: remm
Date: Fri Dec 13 14:34:41 2013
New Revision: 1550740

URL: http://svn.apache.org/r1550740
Log:
startsWith("/META-INF/tags") used to be allowed, but needed a specific hack (that was removed along with the check, unfortunately).

Modified:
    tomcat/trunk/java/org/apache/jasper/compiler/TagLibraryInfoImpl.java

Modified: tomcat/trunk/java/org/apache/jasper/compiler/TagLibraryInfoImpl.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/TagLibraryInfoImpl.java?rev=1550740&r1=1550739&r2=1550740&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/TagLibraryInfoImpl.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/TagLibraryInfoImpl.java Fri Dec 13 14:34:41 2013
@@ -283,7 +283,7 @@ class TagLibraryInfoImpl extends TagLibr
         if (path == null) {
             // path is required
             err.jspError("jsp.error.tagfile.missingPath");
-        } else if (!path.startsWith("/WEB-INF/tags")) {
+        } else if (!path.startsWith("/META-INF/tags") && !path.startsWith("/WEB-INF/tags")) {
             err.jspError("jsp.error.tagfile.illegalPath", path);
         }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org