Closes gh-11206
This commit is contained in:
Johnny Lim
2017-11-30 01:12:35 +09:00
committed by Phillip Webb
parent 7ebe4935ac
commit 44299bb980
7 changed files with 24 additions and 20 deletions

View File

@@ -555,7 +555,8 @@ public class PropertiesLauncher extends Launcher {
if (path.startsWith("./")) {
path = path.substring(2);
}
if (path.toLowerCase().endsWith(".jar") || path.toLowerCase().endsWith(".zip")) {
String lowerCasePath = path.toLowerCase();
if (lowerCasePath.endsWith(".jar") || lowerCasePath.endsWith(".zip")) {
return path;
}
if (path.endsWith("/*")) {