mirror of https://github.com/kiwix/libkiwix.git
disable external links blocking on 500 handler
This commit is contained in:
parent
d04d9bf7f3
commit
4709a42f4f
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue