mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix urls test (windows specific)
This commit is contained in:
@@ -499,7 +499,7 @@ public class VfsUtil extends VfsUtilCore {
|
||||
return prefix + ":///" + suffix;
|
||||
}
|
||||
}
|
||||
else if (SystemInfoRt.isWindows && url.regionMatches(0, LocalFileSystem.PROTOCOL_PREFIX, 0, LocalFileSystem.PROTOCOL_PREFIX.length())) {
|
||||
else if (url.charAt(index + 3) == '/' && SystemInfoRt.isWindows && url.regionMatches(0, LocalFileSystem.PROTOCOL_PREFIX, 0, LocalFileSystem.PROTOCOL_PREFIX.length())) {
|
||||
// file:///C:/test/file.js -> file://C:/test/file.js
|
||||
for (int i = index + 4; i < url.length(); i++) {
|
||||
char c = url.charAt(i);
|
||||
|
||||
Reference in New Issue
Block a user