Skip to content
Browse files

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

Webadmin is broken now with non-UTF8 channel names and usernames.
  • Loading branch information...
1 parent 6bf774d commit 543402cbe2ee9f1de989152888a9f43a501638f5 @DarthGandalf DarthGandalf committed Apr 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/HTTPSock.cpp
View
4 src/HTTPSock.cpp
@@ -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 << "]");

0 comments on commit 543402c

Please sign in to comment.
Something went wrong with that request. Please try again.