Mantis - Resin
Viewing Issue Advanced Details
3417 minor always 03-25-09 09:43 08-24-09 11:55
ferg  
ferg  
normal  
closed  
duplicate  
none    
none 4.0.2  
0003417: JSP request permissions
(rep by Aaron Freeman)

This seems to be broken in 4.0.S090211.
 
I have attached two JSPs that when run throw the following error.
 
[show] java.lang.IllegalAccessException: Class javax.el.BeanELResolver can not
access a member of class com.caucho.server.webapp.DispatchRequest with
modifiers "public"
 
--- BEGIN JSP 1 ----
 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" [^] prefix="c" %>
 
<jsp:include page="test2.jsp"/>
 
End test1.jsp.
 
---- END JSP 1 ----
 
---- BEGIN JSP 2 ----
 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" [^] prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" [^] prefix="fn" %>
 
<c:set var="topLevelPath" value="${fn:substringBefore(fn:substringAfter(pageContext.request.requestURI, '/'), '/')}" scope="request"/>
 
<c:if test="${topLevelPath == ''}">
      Works.
</c:if>
 
End test2.
 
---- END JSP 2 ----
 

Notes
(0004144)
ferg   
08-24-09 11:55   
0003598