GH 109: Bug in SMTPClientSession::loginUsingPlain
- fixed GH# 109: Bug in Poco::Net::SMTPClientSession::loginUsingPlain
This commit is contained in:
Родитель
2d87e2bd84
Коммит
4e3ff72803
|
@ -15,6 +15,7 @@ Release 1.5.2 (2013-03-??)
|
|||
- fixed GH #110: WebSocket accept() fails when Connection header contains multiple tokens
|
||||
- fixed GH# 71: WebSocket and broken Timeouts (POCO_BROKEN_TIMEOUTS)
|
||||
- fixed a warning in Poco/Crypto/OpenSSLInitializer.h
|
||||
- fixed GH# 109: Bug in Poco::Net::SMTPClientSession::loginUsingPlain
|
||||
|
||||
Release 1.5.1 (2013-01-11)
|
||||
==========================
|
||||
|
|
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче