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: [email protected]
For additional commands, e-mail: [email protected]