Permalink
Browse files

disable handling of redirects for now

  • Loading branch information...
1 parent 45d9a60 commit 51aa02d61c18b210d6a253c7b25949f8f23cb098 @heiko-braun heiko-braun committed Feb 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 gui/src/main/java/org/jboss/as/console/server/proxy/XmlHttpProxyServlet.java
@@ -494,7 +494,7 @@ else if(name.equals("Authorization"))
res.setHeader("WWW-Authenticate", authEx.getAuthHeader());
res.setStatus(authEx.getCode());
}
- else if(iox instanceof RedirectException)
+ /*else if(iox instanceof RedirectException)
{
RedirectException redirect = (RedirectException)iox;
@@ -505,7 +505,7 @@ else if(iox instanceof RedirectException)
System.out.println(">> "+ redir);
res.setHeader("Location", redir);
res.setStatus(307);
- }
+ } */
else
{
iox.printStackTrace();

0 comments on commit 51aa02d

Please sign in to comment.