Skip to content

Commit

Permalink
Revert "SAK-49399 msgcntr acessing topic settings while not logged in…
Browse files Browse the repository at this point in the history
… redirects to default page (#12885)"

This reverts commit eb939ea.
  • Loading branch information
ern committed Sep 20, 2024
1 parent 5576017 commit f085811
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,18 +167,6 @@ protected void dispatch(HttpServletRequest req, HttpServletResponse res) throws
RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(target);
dispatcher.forward(req, res);

try {
dispatcher.forward(req, res);
} catch (Exception e) {
log.warn("Error processing request: {}", e.toString());
String defaultPath = getInitParameter("default");
if (!defaultPath.startsWith("/")) {
defaultPath = "/" + defaultPath;
}
res.sendRedirect(Web.returnUrl(req, defaultPath));
return;
}

// restore the request object
req.removeAttribute(Tool.NATIVE_URL);
req.removeAttribute(URL_PATH);
Expand Down

0 comments on commit f085811

Please sign in to comment.