Closed JOTSR closed 1 year ago
Send webui_html_* erros via mg_send_http_* use the wrong mime type (text/plain) and so badly display the error.
webui_html_*
mg_send_http_*
Civetweb only allow serving error page as text/plain so need I added a new webui internal function to serve text/html error pages.
Me too. I noticed this issue a while ago but didn't report it! Thank you @JOTSR 👍
Issue
Send
webui_html_*
erros viamg_send_http_*
use the wrong mime type (text/plain) and so badly display the error.Fix
Civetweb only allow serving error page as text/plain so need I added a new webui internal function to serve text/html error pages.