Skip to content

Commit 4e3ff72

Browse files
committed
GH 109: Bug in SMTPClientSession::loginUsingPlain
- fixed GH# 109: Bug in Poco::Net::SMTPClientSession::loginUsingPlain
1 parent 2d87e2b commit 4e3ff72

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Release 1.5.2 (2013-03-??)
1515
- fixed GH #110: WebSocket accept() fails when Connection header contains multiple tokens
1616
- fixed GH# 71: WebSocket and broken Timeouts (POCO_BROKEN_TIMEOUTS)
1717
- fixed a warning in Poco/Crypto/OpenSSLInitializer.h
18+
- fixed GH# 109: Bug in Poco::Net::SMTPClientSession::loginUsingPlain
1819

1920
Release 1.5.1 (2013-01-11)
2021
==========================

Net/src/SMTPClientSession.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ void SMTPClientSession::loginUsingPlain(const std::string& username, const std::
230230
{
231231
std::ostringstream credentialsBase64;
232232
Base64Encoder credentialsEncoder(credentialsBase64);
233-
credentialsEncoder << username << '\0' << password;
233+
credentialsEncoder << '\0' << username << '\0' << password;
234234
credentialsEncoder.close();
235235

236236
std::string response;

0 commit comments

Comments
 (0)