Lines 964-977
Link Here
|
964 |
docBase = "ROOT"; |
964 |
docBase = "ROOT"; |
965 |
} else { |
965 |
} else { |
966 |
if (path.startsWith("/")) { |
966 |
if (path.startsWith("/")) { |
967 |
docBase = path.substring(1); |
967 |
docBase = path.substring(1).replace('/','#'); |
968 |
} else { |
968 |
} else { |
969 |
docBase = path; |
969 |
docBase = path.replace('/','#'); |
970 |
} |
970 |
} |
971 |
} |
971 |
} |
972 |
|
972 |
|
973 |
File file = null; |
973 |
File file = null; |
974 |
if (docBase.toLowerCase().endsWith(".war")) { |
974 |
if (originalDocBase.toLowerCase().endsWith(".war")) { |
975 |
file = new File(System.getProperty("java.io.tmpdir"), |
975 |
file = new File(System.getProperty("java.io.tmpdir"), |
976 |
deploymentCount++ + "-" + docBase + ".war"); |
976 |
deploymentCount++ + "-" + docBase + ".war"); |
977 |
} else { |
977 |
} else { |