mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
修正无限重定向问题
This commit is contained in:
@@ -218,7 +218,11 @@ public abstract class ResourceSerlvet extends HttpServlet {
|
||||
if (contextPath == null || contextPath.equals("") || contextPath.equals("/")) {
|
||||
response.sendRedirect("/druid/login.html");
|
||||
} else {
|
||||
response.sendRedirect("druid/login.html");
|
||||
if("".equals(path)){
|
||||
response.sendRedirect("druid/login.html");
|
||||
} else {
|
||||
response.sendRedirect("login.html");
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user