https://issues.apache.org/bugzilla/show_bug.cgi?id=56078
Bug ID: 56078 Summary: The "crossContext" is no effect Product: Tomcat 8 Version: trunk Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: fortom...@126.com "../../.." returns null,so "crossContext" is no effect. Why not: private String validate(String path) { if (!getState().isAvailable()) { throw new IllegalStateException( sm.getString("standardRoot.checkStateNotStarted")); } if (path == null || path.length() == 0 || !path.startsWith("/")) { throw new IllegalArgumentException( sm.getString("standardRoot.invalidPath", path)); } if (context.getCrossContext()) { return path; }else { return RequestUtil.normalize(path); } } -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org