unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jani Nikula <jani@nikula.org>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>,
	Austin Clements <amdragon@MIT.EDU>
Cc: notmuch <notmuch@notmuchmail.org>
Subject: Re: [PATCH] lib/cli: pass GMIME_ENABLE_RFC2047_WORKAROUNDS to g_mime_init() a test
Date: Wed, 11 Sep 2013 21:21:34 +0300	[thread overview]
Message-ID: <87ob7zp6c1.fsf@nikula.org> (raw)
In-Reply-To: <522FA24D.8080307@fifthhorseman.net>

On Wed, 11 Sep 2013, Daniel Kahn Gillmor <dkg@fifthhorseman.net> wrote:
> On 09/10/2013 06:35 PM, Austin Clements wrote:
>
>> I haven't looked at exactly what workarounds this enables, but if it's
>> what I'm guessing (RFC 2047 escapes in the middle of RFC 2822 text
>> tokens), are there really subject lines that this will misinterpret
>> that weren't obviously crafted to break the workaround?  
>
> not to get all meta, but i imagine subject lines that refer an example
> of this particular issue (e.g. when talking about RFC 2047) will break
> ;)  I'm trying one variant here.

The meta reply here, running the patch. The broken RFC 2047 got
liberally accepted. :)

>> The RFC 2047
>> escape sequence was deliberately designed to be obscure, since RFC
>> 2047 itself caused previously "standards-compliant" subject lines to
>> potentially be interpreted differently.
>
> right, and it was designed explicitly to put the boundary markers atword
> boundaries, and not in the middle of a word (i think that's what this is
> all about, right?).  so implementations which put the boundary markers
> in the middle of a word, or which include whitespace within the encoded
> text, aren't speaking RFC 2047.
>
> anyway, if there's a rough consensus to go forward with this, i'm not
> about to block it.  I understand that a large part of the business of
> being an MUA is working around other people's bugs instead of expecting
> them to fix them :/  I just don't like mis-rendering other text.

I share your concern. Yet the amount of email with unintentionally
broken encoding is much greater than the amount of email that has
intentional character sequences that resemble broken encodings. Which is
why I'm willing to sacrifice the latter to improve the user experience
for majority of users. YMMV.

BR,
Jani.

  parent reply	other threads:[~2013-09-11 18:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-10 18:51 [PATCH] lib/cli: pass GMIME_ENABLE_RFC2047_WORKAROUNDS to g_mime_init() Jani Nikula
2013-09-10 19:31 ` Daniel Kahn Gillmor
2013-09-10 22:35   ` Austin Clements
2013-09-10 22:50     ` [PATCH] lib/cli: pass GMIME_ENABLE_RFC2047_WORKAROUNDS to g_mime_init() a test Daniel Kahn Gillmor
2013-09-11  1:51       ` Austin Clements
2013-09-11 18:21       ` Jani Nikula [this message]
2013-09-11  2:02 ` [PATCH] lib/cli: pass GMIME_ENABLE_RFC2047_WORKAROUNDS to g_mime_init() Austin Clements
2013-09-11 17:36   ` [PATCH v2 1/2] test: add known broken tests for known broken RFC 2047 encodings Jani Nikula
2013-09-11 17:36     ` [PATCH v2 2/2] lib/cli: pass GMIME_ENABLE_RFC2047_WORKAROUNDS to g_mime_init() Jani Nikula
2013-09-11 18:37     ` [PATCH v2 1/2] test: add known broken tests for known broken RFC 2047 encodings Austin Clements
2013-09-11 19:57     ` Tomi Ollila
2013-09-14 17:21     ` David Bremner
2013-09-11 17:40   ` [PATCH] lib/cli: pass GMIME_ENABLE_RFC2047_WORKAROUNDS to g_mime_init() Jani Nikula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ob7zp6c1.fsf@nikula.org \
    --to=jani@nikula.org \
    --cc=amdragon@MIT.EDU \
    --cc=dkg@fifthhorseman.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).