fix: uri is not absolute error when giving linux paths

This commit is contained in:
zaaarf 2023-08-27 09:58:40 +02:00
parent 3000895130
commit ea030e54b9
No known key found for this signature in database
GPG key ID: 6445A5CD15E5B40C

View file

@ -75,7 +75,7 @@ public class MapperProvider {
try {
URI target = new URI(location);
targetStream = target.toURL().openStream();
} catch(URISyntaxException | IOException e) {
} catch(URISyntaxException | IllegalArgumentException | IOException e) {
//may be a local file path
File f = new File(location);
try {