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

From: Date: Mon, 16 May 2011 08:09:35 +0000
Subject: Bug #54077 [Asn->Csd]: Empty messages in RU mailing list
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-11010@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: shein@php.net Reported by: shein@php.net Summary: Empty messages in RU mailing list -Status: Assigned +Status: Closed Type: Bug Package: Website problem PHP Version: Irrelevant Assigned To: shein Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Since the websites are not directly updated from the SVN server, the fix might need some time to spread across the globe to all mirror sites, including PHP.net itself. Thank you for the report, and for helping us make PHP.net better. Hannes, thanks for the karma. Fixed in svn. Previous Comments: ------------------------------------------------------------------------ [2011-05-16 09:55:59] shein@php.net Automatic comment from SVN on behalf of shein Revision: http://svn.php.net/viewvc/?view=revision&revision=311070 Log: Fixed incorrect handling of base64-encoded letters with linux line endings (\n) which caused hiding letter's body text on doc-ru (fixes #54077). ------------------------------------------------------------------------ [2011-05-13 16:24:45] bjori@php.net You have karma to newsweb now. ------------------------------------------------------------------------ [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 (#11010) next »