unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* How about these: -- CR & NL char in rfc2047-encoded header...
@ 2013-07-23 19:17 tomi.ollila
  2013-10-27 12:48 ` David Bremner
  0 siblings, 1 reply; 3+ messages in thread
From: tomi.ollila @ 2013-07-23 19:17 UTC (permalink / raw)
  To: notmuch

In thread starting from id:08cb1dcd-c5db-4e33-8b09-7730cb3d59a2@gmail.com
David wondered in id:87y58xv71x.fsf@zancas.localnet what filtering
is done by CLI and what by lib.

But where should the "problem" presented in the Subject: header should
be handled. I did some hacks to emacs client to drop the ^J (newline)
characters from Subject: and From: headers but should these be filtered
in CLI (or in lib) instead?

Tomi

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How about these: -- CR & NL char in rfc2047-encoded header...
  2013-07-23 19:17 How about these: -- CR & NL char in rfc2047-encoded header tomi.ollila
@ 2013-10-27 12:48 ` David Bremner
  2013-10-27 13:23   ` Patrick Totzke
  0 siblings, 1 reply; 3+ messages in thread
From: David Bremner @ 2013-10-27 12:48 UTC (permalink / raw)
  To: tomi.ollila, notmuch

tomi.ollila@iki.fi writes:

> In thread starting from id:08cb1dcd-c5db-4e33-8b09-7730cb3d59a2@gmail.com
> David wondered in id:87y58xv71x.fsf@zancas.localnet what filtering
> is done by CLI and what by lib.
>
> But where should the "problem" presented in the Subject: header should
> be handled. I did some hacks to emacs client to drop the ^J (newline)
> characters from Subject: and From: headers but should these be filtered
> in CLI (or in lib) instead?
>

Eventually we decided this was a front-end isssue. The emacs front-end
fixed this  with commit 0.16-111-ga7964c8

d

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How about these: -- CR & NL char in rfc2047-encoded header...
  2013-10-27 12:48 ` David Bremner
@ 2013-10-27 13:23   ` Patrick Totzke
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick Totzke @ 2013-10-27 13:23 UTC (permalink / raw)
  To: David Bremner, tomi.ollila, notmuch

[-- Attachment #1: Type: text/plain, Size: 981 bytes --]

Quoting David Bremner (2013-10-27 12:48:24)
> tomi.ollila@iki.fi writes:
> 
> > In thread starting from id:08cb1dcd-c5db-4e33-8b09-7730cb3d59a2@gmail.com
> > David wondered in id:87y58xv71x.fsf@zancas.localnet what filtering
> > is done by CLI and what by lib.
> >
> > But where should the "problem" presented in the Subject: header should
> > be handled. I did some hacks to emacs client to drop the ^J (newline)
> > characters from Subject: and From: headers but should these be filtered
> > in CLI (or in lib) instead?
> >
> 
> Eventually we decided this was a front-end isssue. The emacs front-end
> fixed this  with commit 0.16-111-ga7964c8


I agree that this should be an issue for the MUA.
FYI: alot also normalizes newlines and tabs in subject lines..
https://github.com/pazz/alot/blob/master/alot/db/utils.py#L369
I cannot reproduce the original issue with the escaped UTF8 header not being interpreted.
This works fine for me in alot.

Best,
/p

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iEYEABECAAYFAlJtE+kACgkQlDQDZ9fWxaqq4ACfXq9YfOQnT5g4U5StYY5xbm/v
vUcAn3BCQrEV5XIzVb4U3eC/78/eljRd
=CHQd
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-27 13:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-23 19:17 How about these: -- CR & NL char in rfc2047-encoded header tomi.ollila
2013-10-27 12:48 ` David Bremner
2013-10-27 13:23   ` Patrick Totzke

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).