-
Bug
-
Resolution: Done
-
Critical
-
3.0.0.CR3
-
None
-
None
A URL like this
gets passed to a 3rd party library (i.e. Jetty)
which does stuff like this
public static Resource newResource(URL url, boolean useCaches)
{
if (url==null)
return null;
String url_string=url.toExternalForm();
if( url_string.startsWith( "file:"))
{
try
catch(Exception e)
{ Log.debug(Log.EXCEPTION,e); return new BadResource(url,e.toString()); } }
else if( url_string.startsWith( "jar:file:"))
else if( url_string.startsWith( "jar:"))
{ return new JarResource(url, useCaches); } return new URLResource(url,null,useCaches);
}
As a consequence, content access does not work.
This seems to be a general issue caused by the reuse of the well known file:// protocol which may be processed explicitly by 3rd party libs.
- is related to
-
JBVFS-142 NPE in VirtualJarInputStream
- Resolved