Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1.2
-
None
Description
The CodeBehindUnknownHandler searches for results using servletContext.getResource(path) and then ClassLoaderUtils.getResource(path, getClass()).
The path always has a leading slash as this is mandatory to find resources in the servlet context but the leading slash needs to be removed to load resources from jars.
The existing unit tests do not include the leading slash when searching the classpath so the small bug had slipped through.