fixed endswithslash test
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2558 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
6c01234e7c
commit
fca35e43a2
|
@ -389,7 +389,7 @@ public class DefaultServlet extends HttpServlet implements ResourceFactory
|
|||
}
|
||||
|
||||
String pathInContext=URIUtil.addPaths(servletPath,pathInfo);
|
||||
boolean endsWithSlash=request.getRequestURI().endsWith(URIUtil.SLASH);
|
||||
boolean endsWithSlash=(pathInfo==null?request.getServletPath():pathInfo).endsWith(URIUtil.SLASH);
|
||||
|
||||
// Can we gzip this request?
|
||||
String pathInContextGz=null;
|
||||
|
|
Loading…
Reference in New Issue