Bug #54077 [Opn->Asn]: Empty messages in RU mailing list

From: Date: Fri, 13 May 2011 14:24:45 +0000
Subject: Bug #54077 [Opn->Asn]: Empty messages in RU mailing list
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-10994@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54077&edit=1 ID: 54077 Updated by: bjori@php.net Reported by: shein@php.net Summary: Empty messages in RU mailing list -Status: Open +Status: Assigned Type: Bug -Package: Systems problem +Package: Website problem PHP Version: Irrelevant -Assigned To: +Assigned To: shein Block user comment: N Private report: N New Comment: You have karma to newsweb now. Previous Comments: ------------------------------------------------------------------------ [2011-02-23 12:20:17] shein@php.net The following patch has been added/updated: Patch Name: linux-line-endings-message-body-and-utf-8-parsing-fix.patch.txt Revision: 1298460017 URL: http://bugs.php.net/patch-display.php?bug=54077&patch=linux-line-endings-message-body-and-utf-8-parsing-fix.patch.txt&revision=1298460017 ------------------------------------------------------------------------ [2011-02-23 12:19:38] shein@php.net Description: ------------ There is a bug with hiding mail body messages on ru mailing list, like these ones: http://news.php.net/php.doc.ru/1205, http://news.php.net/php.doc.ru/1419, http://news.php.net/php.doc.ru/1196, http://news.php.net/php.doc.ru/1198. According to sources, the problem is within incorrect parsing base64encoded messages, which after decoding contain \n separators while script expects them to be in \r\n (see attached patch). Patch fixes this behavior by expecting last character with any type of newline (\r or \n), so BC is kept. Patch also fixes minor bug with parsing utf-8 encoding in content-type header. Expected result: ---------------- Full letter with body message is shown. Actual result: -------------- Only attachment (if exists) and no body message is shown. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54077&edit=1

« previous php.webmaster (#10994) next »