mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 16:48:06 +02:00
GH160: MultipartReader ignores first part, if preamble is missing
fixed GH #160: MultipartReader ignores first part, if preamble is missing
This commit is contained in:
@@ -477,7 +477,7 @@ void MailMessage::readHeader(std::istream& istr)
|
||||
clear();
|
||||
MessageHeader::read(istr);
|
||||
istr.get(); // \r
|
||||
istr.get(); // \n
|
||||
if ('\n' == istr.peek()) istr.get(); // \n
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user