Console: Add POST support to the error handler so it doesn't error itself

This commit is contained in:
zzz
2018-04-28 18:37:59 +00:00
parent 145730f5b8
commit 780fdfe4f6

View File

@@ -149,6 +149,15 @@ public class ErrorServlet extends HttpServlet {
out.println("</div></body></html>");
out.close();
}
/**
* Needed if the errored page was a POST
* @since 0.9.35
*/
@Override
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
doGet(req, resp);
}
/**
* Override for specific cases.