Fixed embed code when running on port 80.
This commit is contained in:
parent
fc5e86d7c2
commit
a17f6d06fd
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ namespace Connector_HTTP {
|
||||||
|
|
||||||
std::string response;
|
std::string response;
|
||||||
std::string host = H.GetHeader("Host");
|
std::string host = H.GetHeader("Host");
|
||||||
if (host.find(':')){
|
if (host.find(':') != std::string::npos){
|
||||||
host.resize(host.find(':'));
|
host.resize(host.find(':'));
|
||||||
}
|
}
|
||||||
H.Clean();
|
H.Clean();
|
||||||
|
|
Loading…
Add table
Reference in a new issue