mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-24 09:12:28 +02:00
GH 109: Bug in SMTPClientSession::loginUsingPlain
- fixed GH# 109: Bug in Poco::Net::SMTPClientSession::loginUsingPlain
This commit is contained in:
@@ -230,7 +230,7 @@ void SMTPClientSession::loginUsingPlain(const std::string& username, const std::
|
||||
{
|
||||
std::ostringstream credentialsBase64;
|
||||
Base64Encoder credentialsEncoder(credentialsBase64);
|
||||
credentialsEncoder << username << '\0' << password;
|
||||
credentialsEncoder << '\0' << username << '\0' << password;
|
||||
credentialsEncoder.close();
|
||||
|
||||
std::string response;
|
||||
|
||||
Reference in New Issue
Block a user