#571 401 response should not be redirected
This commit is contained in:
parent
b4d31da4f1
commit
692e02fcda
1 changed files with 4 additions and 0 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Reference in a new issue