1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 19:03:13 +02:00

fixed a problem with the webcpanel logout when using apache + mod_proxy

This commit is contained in:
DukePyrolator
2012-12-09 14:21:42 +01:00
parent 8d4a08ccc1
commit eada35df36
+1 -1
View File
@@ -17,7 +17,7 @@ bool WebCPanel::Logout::OnRequest(HTTPProvider *server, const Anope::string &pag
na->Shrink("webcpanel_ip");
reply.error = HTTP_FOUND;
reply.headers["Location"] = Anope::string("http") + (use_ssl ? "s" : "") + "://" + message.headers["Host"];
reply.headers["Location"] = Anope::string("http") + (use_ssl ? "s" : "") + "://" + message.headers["Host"] + "/";
return true;
}