Open GoogleCodeExporter opened 8 years ago
FileProtocolHandler#getFilename should be implemented (more or less) like this
in order to properly
support url encoding:
private String getFilename(String url)
{
try {
File file= new File(new URI(url));
return file.getAbsolutePath();
} catch (URISyntaxException exp) {
return null;
}
}
Original comment by paleozogt
on 6 Oct 2009 at 6:02
Original issue reported on code.google.com by
paleozogt
on 6 Oct 2009 at 6:00