protected List<Session> getSessionsForName(ContextName cn,
StringManager smClient) {
- if ((cn == null) || (!cn.getPath().startsWith("/") &&
+ if ((cn == null) || !(cn.getPath().startsWith("/") ||
cn.getPath().equals(""))) {
String path = null;
if (cn != null) {
}
protected Session getSessionForNameAndId(ContextName cn, String id,
StringManager smClient) throws IOException {
- if ((cn == null) || (!cn.getPath().startsWith("/") &&
+ if ((cn == null) || !(cn.getPath().startsWith("/") ||
cn.getPath().equals(""))) {
String path = null;
if (cn != null) {
<bug>50294</bug>: Add more information to documentation regarding format
of configuration files. Patch provided by Luke Meyer. (markt)
</add>
+ <fix>
+ Correct validate provided context path so sessions for the ROOT web
+ application can be viewed through the HTML Manager. (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Other">