Skip to content

Commit

Permalink
Fix usernames with special characters like spaces (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThexXTURBOXx authored Jan 16, 2022
1 parent 9956be0 commit 1ea77ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ private static Consumer<URL> populateAddUrl() {
// Java 9 and above
return url -> {
try {
TransformerAgent.getInstrumentation().appendToSystemClassLoaderSearch(new JarFile(url.getFile()));
TransformerAgent.getInstrumentation().appendToSystemClassLoaderSearch(new JarFile(new File(url.toURI())));
} catch (Throwable throwable) {
throw new RuntimeException(throwable);
}
Expand Down

0 comments on commit 1ea77ad

Please sign in to comment.