mirror of
https://github.com/znc/znc.git
synced 2026-05-01 19:12:31 +02:00
Don't print local ip address on 404 page, fixes #944
(cherry picked from commit 01279a4efa)
This commit is contained in:
committed by
Alexey Sokolov
parent
fce3d781bb
commit
3bc7b820ac
@@ -639,10 +639,7 @@ bool CHTTPSock::PrintErrorPage(unsigned int uStatusId, const CString& sStatusMsg
|
||||
"<h1>" + sStatusMsg.Escape_n(CString::EHTML) + "</h1>\r\n"
|
||||
"<p>" + sMessage.Escape_n(CString::EHTML) + "</p>\r\n"
|
||||
"<hr/>\r\n"
|
||||
"<address>" +
|
||||
CZNC::GetTag(false, /* bHTML = */ true) +
|
||||
" at " + GetLocalIP().Escape_n(CString::EHTML) + " Port " + CString(GetLocalPort()) +
|
||||
"</address>\r\n"
|
||||
"<p>" + CZNC::GetTag(false, /* bHTML = */ true) + "</p>\r\n"
|
||||
"</body>\r\n"
|
||||
"</html>\r\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user