From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Fogel Newsgroups: gmane.emacs.devel Subject: HTML mails suddenly exposing style & markup in Gnus. Date: Mon, 13 Sep 2010 20:29:24 -0400 Message-ID: <87pqwhf9qz.fsf@kslab.red-bean.com> Reply-To: Karl Fogel NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1284424193 13708 80.91.229.12 (14 Sep 2010 00:29:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Sep 2010 00:29:53 +0000 (UTC) To: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 14 02:29:52 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OvJPD-00050r-De for ged-emacs-devel@m.gmane.org; Tue, 14 Sep 2010 02:29:52 +0200 Original-Received: from localhost ([127.0.0.1]:47762 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvJPC-0006Av-H4 for ged-emacs-devel@m.gmane.org; Mon, 13 Sep 2010 20:29:50 -0400 Original-Received: from [140.186.70.92] (port=55392 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvJP6-0006Aq-6Z for emacs-devel@gnu.org; Mon, 13 Sep 2010 20:29:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OvJP4-0004Pf-QM for emacs-devel@gnu.org; Mon, 13 Sep 2010 20:29:44 -0400 Original-Received: from osh-net-219-98.onshore.net ([66.146.219.98]:42339 helo=sanpietro.red-bean.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OvJP4-0004PN-KP for emacs-devel@gnu.org; Mon, 13 Sep 2010 20:29:42 -0400 Original-Received: from localhost ([127.0.0.1]:55465 helo=kslab.red-bean.com ident=kfogel) by sanpietro.red-bean.com with esmtp (Exim 4.72) (envelope-from ) id 1OvJOy-0001zb-Do for emacs-devel@gnu.org; Mon, 13 Sep 2010 19:29:36 -0500 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130110 Archived-At: I read mail in Gnus, and after upgrading to latest Bzr today (as I do every couple of weeks) I am suddenly seeing lots of HTML markup exposed in mails where it never used to be exposed. It makes the mails very difficult to read. An example is below. I haven't seen anything on emacs-devel@ about this, and looking through the ChangeLogs and bzr logs I haven't seen anything jump out that would explain it. (Not sure if the recent `html-parse-string' thread has anything to do with it, but it seems unlikely.) Old-fashioned plain text mails are not affected, of course. But before this upgrade, when I got a MIME multipart email with a text/plain part and a text/html part, Gnus would display the text/plain part. Now it seems to be [decoding and] displaying the text/html part! Thus in the example message below, there are two mime parts: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline and Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: Base64 Content-Disposition: inline ...and it seems that Gnus now displays the text/html part by default. Below is what the body of that mail now looks like in the Gnus Article mode display window (I can supply the full original message file if it would help). This example is indented by two spaces and anonymized in some trivial ways:
Reply ABOVE THIS LINE to add a comment to this message
Project: https://example.com/foo
Company: OpenPlans

Karl Fogel posted a new message: https://example.com/foo

Abhi, Dan, as we discussed: Before moving onto the dedicated server for Foo Bar, we’d needed to upgrade WordPress and MediaWiki (WordPress had some nasty security holes recently patched). The upgrade is now done, and we’re on the most recent released versions of both. Many thanks to Philip for timely help when I hit a snag. I’m now preparing the new Rackspace server to receive the migrated site. Veronica, just keep working on the site as you normally do—we’ll send you a ping when it’s time to pause for the switchover.
https://example.com/foo/subscription/unsubscribe when comments are posted to this message
https://example.com/foo/prefers_text_emails? Delivered by http://example.com/?baz