diff --git a/src/HttpsClient.cpp b/src/HttpsClient.cpp index ccc015ff25..01d8590612 100644 --- a/src/HttpsClient.cpp +++ b/src/HttpsClient.cpp @@ -371,8 +371,8 @@ bool HttpsClient::httpsParseUrl(const std::string strUrl, std::string& strDomain if (bMatch) { - strDomain = smMatch[0]; strDomain = smMatch[1]; + strDomain = smMatch[2]; } return bMatch;