A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/classgraph/classgraph/issues/888 below:

ClasspathElementZip.getClasspathElementURI() returns incorrect URIs under Windows · Issue #888 · classgraph/classgraph · GitHub

Version 4.8.177

verbose.log

When I invoke ClassgraphElementZip.getClasspathElementURI() on a JAR file on Windows, I get back: file:/C:/Users/Gili/Documents/licensed-app/server/target/lib/client.browser-1.0-SNAPSHOT.jar!/index.html

When I pass this URI to Jetty, it normalizes it to file:///C:/Users/Gili/Documents/licensed-app/server/target/lib/client.browser-1.0-SNAPSHOT.jar!/ and complains Base Resource should not be an alias.

Upon further investigation, it looks like file:/ is not actually a valid URI format. Is there any reason that ClassGraph is returning file:/ instead of file:///? Is this by design? Or is this a bug? Thank you in advance.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4