#571 401 response should not be redirected

This commit is contained in:
Shinsuke Sugaya 2016-07-12 23:25:18 +09:00
parent b4d31da4f1
commit 692e02fcda

View file

@ -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"));