From 2e2077c3afe313012ead45848542b613c079429d Mon Sep 17 00:00:00 2001 From: Albin Stjerna Date: Sun, 10 Feb 2013 09:30:52 +0100 Subject: [PATCH] Re: Bug: problem decoding some non-ascii characters in subjects --- 70/02b8a1aa722a2a528e7580b1e367b0118cb827 | 84 +++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 70/02b8a1aa722a2a528e7580b1e367b0118cb827 diff --git a/70/02b8a1aa722a2a528e7580b1e367b0118cb827 b/70/02b8a1aa722a2a528e7580b1e367b0118cb827 new file mode 100644 index 000000000..f3eb796c5 --- /dev/null +++ b/70/02b8a1aa722a2a528e7580b1e367b0118cb827 @@ -0,0 +1,84 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 5096A431FAF + for ; Sun, 10 Feb 2013 00:31:01 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id Z5Qy4Fogy+V6 for ; + Sun, 10 Feb 2013 00:31:01 -0800 (PST) +Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com + [209.85.217.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id B2FC3431FAE + for ; Sun, 10 Feb 2013 00:31:00 -0800 (PST) +Received: by mail-lb0-f173.google.com with SMTP id gf7so3981461lbb.18 + for ; Sun, 10 Feb 2013 00:30:58 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=x-received:from:to:cc:subject:in-reply-to:references:user-agent + :date:message-id:mime-version:content-type; + bh=CfS5BlGmajnTsLmaDY4ZpKVZ3ilp1VXi24dVRvEg+Zs=; + b=qwQuBGDYinlMqh+FI5mXh890Xni0NyS8EWnEer5KfEDJI+og3Sr1nWEVwoasZjC6fH + 35j21A5l+RL5QhulrMs1d+Mcxv4NmDvxakbgdr0YMK9VYYSXM4ybX2f+Kwr3VZijvAy0 + rD+ZYz1meRHeD5Z2ci8w6fmAquTUpF53L+n+VV4n8vehKXO+IDLeq1vSBVjOmZL9CIuk + wdyB5MopJCzr6Gl/6abgyyzXWi6pscYcIcN14DfBrlcTOPdS1aJAKD/WeVmU3FaA23Yc + XcHrPYb7cqb66TtPe5wr/m4gfinW47IoQZC/kgPtWYXfBNtZIvtUxfseeLnke6zJ6fCD + BJqA== +X-Received: by 10.152.133.130 with SMTP id pc2mr9398826lab.51.1360485057760; + Sun, 10 Feb 2013 00:30:57 -0800 (PST) +Received: from hecate (nl110-96-173.student.uu.se. [130.242.96.173]) + by mx.google.com with ESMTPS id ft8sm19710784lab.9.2013.02.10.00.30.55 + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sun, 10 Feb 2013 00:30:56 -0800 (PST) +From: Albin Stjerna +To: Jani Nikula , notmuch@notmuchmail.org +Subject: Re: Bug: problem decoding some non-ascii characters in subjects +In-Reply-To: <87mwvd6bst.fsf@nikula.org> +References: <87txpnds0k.fsf@hecate.student.uu.se> <8738x7kq44.fsf@nikula.org> + <87pq09eu41.fsf@hecate.student.uu.se> <87mwvd6bst.fsf@nikula.org> +User-Agent: Notmuch/0.14+243~g18d79d1 (http://notmuchmail.org) Emacs/24.3.50.1 + (x86_64-pc-linux-gnu) +Date: Sun, 10 Feb 2013 09:30:52 +0100 +Message-ID: <87liawefk3.fsf@hecate.student.uu.se> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sun, 10 Feb 2013 08:31:01 -0000 + +Jani Nikula wrote: + +> Is that entirely on one line in the original message file? If not, where +> exactly is it split? + +It's in one line. + +> Either way, at a glance, it seems like the encoding is malformed. I +> think the encoded-word ("=?" charset "?" encoding "?" encoded-text "?=") +> should be separated by space to make it an atom. [RFC 2047, RFC 2822]. + +> If you manually move the leading 'f' after the "?Q?" bit, it works as +> expected. It looks like the bug is in the sender's user agent. + +Hm. So I should report this to Thunderbird? I tried searching through +their bug reports but didn't find anything. + +I didn't think it was a bug, since Gmail rendered it just fine. -- 2.26.2