Skip to content

Commit ef7173a

Browse files
committed
windows fix
1 parent be15d42 commit ef7173a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/java/com/github/pfmiles/dropincc/impl/util

src/main/java/com/github/pfmiles/dropincc/impl/util/Util.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ private static String toFilePath(URL url) {
283283
try {
284284
File f = new File(url.toURI().getSchemeSpecificPart());
285285
if (f.exists()) {
286-
return f.getAbsolutePath();
286+
return f.toURI().getSchemeSpecificPart();
287287
} else {
288288
return null;
289289
}

0 commit comments

Comments
 (0)