disable external links blocking on 500 handler

This commit is contained in:
renaud gaudin 2020-03-30 14:42:37 +00:00
parent d04d9bf7f3
commit 4709a42f4f
1 changed files with 1 additions and 1 deletions

View File

@ -392,7 +392,7 @@ Response InternalServer::build_500(const std::string& msg)
{ {
kainjow::mustache::data data; kainjow::mustache::data data;
data.set("error", msg); data.set("error", msg);
Response response(m_root, true, false, false, m_blockExternalLinks); Response response(m_root, true, false, false, false);
response.set_template(RESOURCE::templates::_500_html, data); response.set_template(RESOURCE::templates::_500_html, data);
response.set_mimeType("text/html"); response.set_mimeType("text/html");
response.set_code(MHD_HTTP_INTERNAL_SERVER_ERROR); response.set_code(MHD_HTTP_INTERNAL_SERVER_ERROR);