Also check for RFC-2047 end sequence.
This commit is contained in:
parent
84415da8e1
commit
555dcca979
@ -247,7 +247,7 @@ bool wordEncoder::isEncodingNeeded
|
||||
return true;
|
||||
|
||||
// If any RFC-2047 sequence is found in the buffer, encode it
|
||||
if (buffer.find("=?") != string::npos)
|
||||
if (buffer.find("=?") != string::npos || buffer.find("?=") != string::npos)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user