Skip to content

Commit

Permalink
fix problem on windows os
Browse files Browse the repository at this point in the history
  • Loading branch information
bsorrentino committed Sep 18, 2013
1 parent 3746795 commit 35541bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public long getLastModified()

public static ZipFileObject create(ZipFile zipFile, ZipEntry entry) {
try {
final String uri = String.format("jar://%s!%s", zipFile.getName(), entry.getName() );
final String uri = String.format("jar://%s!%s", zipFile.getName().replace("\\", "/"), entry.getName() );
return new ZipFileObject(zipFile, entry, new URI(uri));
}
catch (URISyntaxException e)
Expand Down

0 comments on commit 35541bc

Please sign in to comment.