Delay switch to XHTML until user encodings are implemented...

Webadmin is broken now with non-UTF8 channel names and usernames.
This commit is contained in:
Alexey Sokolov
2012-04-19 21:38:51 +07:00
parent 6bf774d853
commit 543402cbe2
+2 -2
View File
@@ -450,7 +450,7 @@ bool CHTTPSock::PrintErrorPage(unsigned int uStatusId, const CString& sStatusMsg
"</body>\r\n"
"</html>\r\n";
PrintHeader(sPage.length(), "application/xhtml+xml; charset=utf-8", uStatusId, sStatusMsg);
PrintHeader(sPage.length(), "text/html; charset=utf-8", uStatusId, sStatusMsg);
Write(sPage);
Close(Csock::CLT_AFTERWRITE);
@@ -492,7 +492,7 @@ bool CHTTPSock::PrintHeader(off_t uContentLength, const CString& sContentType, u
}
if (m_sContentType.empty()) {
m_sContentType = "application/xhtml+xml; charset=utf-8";
m_sContentType = "text/html; charset=utf-8";
}
DEBUG("- " << uStatusId << " (" << sStatusMsg << ") [" << m_sContentType << "]");