Browse Source

#571 401 response should not be redirected

Shinsuke Sugaya 9 years ago
parent
commit
692e02fcda
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/main/webapp/WEB-INF/view/error/redirect.jsp

+ 4 - 0
src/main/webapp/WEB-INF/view/error/redirect.jsp

@@ -18,6 +18,10 @@ if("systemError".equals(type)) {
 } else if("badRequest".equals(type)) {
 	redirectPage.append("/error/badrequest");
 	response.sendRedirect(redirectPage.toString());
+} else if("badAuth".equals(type)) {
+ %>
+Bad Authentication.
+<%
 } else {
 	redirectPage.append("/error/notfound?url=");
 	redirectPage.append(java.net.URLEncoder.encode(requestUri , "UTF-8"));