If the username contains .jar, for example baton.jar the classpath will not be processed correctly and will be a string like C:\Users\baton.jar instead of C:\Users\baton.jar\...\asset.jar.
|
_processClassPathList(list) { |
|
|
|
const ext = '.jar' |
|
const extLen = ext.length |
|
for(let i=0; i<list.length; i++) { |
|
const extIndex = list[i].indexOf(ext) |
|
if(extIndex > -1 && extIndex !== list[i].length - extLen) { |
|
list[i] = list[i].substring(0, extIndex + extLen) |
|
} |
|
} |
|
|
|
} |
Pretty freaky case, but it can happen...
If the username contains
.jar, for examplebaton.jarthe classpath will not be processed correctly and will be a string likeC:\Users\baton.jarinstead ofC:\Users\baton.jar\...\asset.jar.HeliosLauncher/app/assets/js/processbuilder.js
Lines 649 to 660 in eb683f8
Pretty freaky case, but it can happen...