mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 02:06:04 +02:00
GH 109: Bug in SMTPClientSession::loginUsingPlain
- fixed GH# 109: Bug in Poco::Net::SMTPClientSession::loginUsingPlain
This commit is contained in:
@@ -15,6 +15,7 @@ Release 1.5.2 (2013-03-??)
|
|||||||
- fixed GH #110: WebSocket accept() fails when Connection header contains multiple tokens
|
- fixed GH #110: WebSocket accept() fails when Connection header contains multiple tokens
|
||||||
- fixed GH# 71: WebSocket and broken Timeouts (POCO_BROKEN_TIMEOUTS)
|
- fixed GH# 71: WebSocket and broken Timeouts (POCO_BROKEN_TIMEOUTS)
|
||||||
- fixed a warning in Poco/Crypto/OpenSSLInitializer.h
|
- fixed a warning in Poco/Crypto/OpenSSLInitializer.h
|
||||||
|
- fixed GH# 109: Bug in Poco::Net::SMTPClientSession::loginUsingPlain
|
||||||
|
|
||||||
Release 1.5.1 (2013-01-11)
|
Release 1.5.1 (2013-01-11)
|
||||||
==========================
|
==========================
|
||||||
|
|||||||
@@ -230,7 +230,7 @@ void SMTPClientSession::loginUsingPlain(const std::string& username, const std::
|
|||||||
{
|
{
|
||||||
std::ostringstream credentialsBase64;
|
std::ostringstream credentialsBase64;
|
||||||
Base64Encoder credentialsEncoder(credentialsBase64);
|
Base64Encoder credentialsEncoder(credentialsBase64);
|
||||||
credentialsEncoder << username << '\0' << password;
|
credentialsEncoder << '\0' << username << '\0' << password;
|
||||||
credentialsEncoder.close();
|
credentialsEncoder.close();
|
||||||
|
|
||||||
std::string response;
|
std::string response;
|
||||||
|
|||||||
Reference in New Issue
Block a user