// Trying to expand outside the docBase
// Throw an exception to stop the deployment
throw new IllegalArgumentException(
- sm.getString("expandWar.illegalPath",war, name));
+ sm.getString("expandWar.illegalPath",war, name,
+ expandedFile.getCanonicalPath(),
+ canonicalDocBasePrefix));
}
int last = name.lastIndexOf('/');
if (last >= 0) {
// Entry located outside the docBase
// Throw an exception to stop the deployment
throw new IllegalArgumentException(
- sm.getString("expandWar.illegalPath",war, name));
+ sm.getString("expandWar.illegalPath",war, name,
+ expandedFile.getCanonicalPath(),
+ canonicalDocBasePrefix));
}
}
} catch (IOException e) {
engineConfig.stop=EngineConfig: Processing STOP
expandWar.copy=Error copying {0} to {1}
expandWar.deleteFailed=[{0}] could not be completely deleted. The presence of the remaining files may cause problems
-expandWar.illegalPath=The archive [{0}] is malformed and will be ignored: an entry contains an illegal path [{1}]
+expandWar.illegalPath=The archive [{0}] is malformed and will be ignored: an entry contains an illegal path [{1}] which was not expanded to [{2}] since that is outside of the defined docBase [{3}]
hostConfig.appBase=Application base directory {0} does not exist
hostConfig.canonicalizing=Error delete redeploy resources from context [{0}]
hostConfig.cce=Lifecycle event data object {0} is not a Host
<bug>50721</bug>: Correctly handle URL decoding where the URL ends in
%nn. Patch provided by Christof Marti. (markt)
</fix>
+ <add>
+ <bug>50737</bug>: Add additional information when an invalid WAR file is
+ detected. (markt)
+ </add>
<fix>
<bug>50748</bug>: Allow the content length header to be set up to the
point the response is committed when a writer is being used. (markt)