Commit b633b83
committed
Support invalid filename string to URI conversion
Not all filenames on all systems are valid URIs, especially on Windows,
whose filenames have backslashes. If an error is thrown trying to
create a URI from such an invalid String we attempt to resolve the
issue by explicitly making it into a File first.1 parent 746b74f commit b633b83
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
62 | 70 | | |
63 | 71 | | |
64 | 72 | | |
| |||
0 commit comments