Fixed embed code when running on port 80.

This commit is contained in:
Thulinma 2014-10-01 11:32:05 +02:00
parent fc5e86d7c2
commit a17f6d06fd

View file

@ -384,7 +384,7 @@ namespace Connector_HTTP {
std::string response;
std::string host = H.GetHeader("Host");
if (host.find(':')){
if (host.find(':') != std::string::npos){
host.resize(host.find(':'));
}
H.Clean();